An electronic device, the device comprising: a display; a communication interface; at least one processor; and a memory operatively coupled to the at least one processor; and an input/output interface configured to receive a touch, gesture, proximity or hovering input of a user; wherein the memory is configured to store instructions that when executed configure the at least one processor to: render configuration data of a content to be displayed, wherein the configuration data is in a form of a markup language and comprises a share-tag said share-tag being a marker comprising information of shareable partial areas of the content to be displayed; control the display to display the content based on the rendered configuration data; detect a plurality of inputs via the input/output interface for selecting a plurality of respective ones of the shareable partial areas of the displayed content by detecting whether the touch input or the hovering input corresponding to respective inputs of the plurality of inputs occurs on the display through the input/output interface; insert information indicating that the corresponding selected plurality of partial areas are to be shared into the share-tag of the configuration data of the content; detect (503, 703, 911) the inserted information indicating the plurality of partial areas in the share-tag; extract, from the displayed content, a plurality of rendered images each corresponding to a respective partial area detected in the share-tag; generate (505, 1103) a single image based on the plurality of rendered images; and control the communication interface to transmit the generated image to an external device. a display; a communication interface; at least one processor; and a memory operatively coupled to the at least one processor; and an input/output interface configured to receive a touch, gesture, proximity or hovering input of a user; wherein the memory is configured to store instructions that when executed configure the at least one processor to: render configuration data of a content to be displayed, wherein the configuration data is in a form of a markup language and comprises a share-tag said share-tag being a marker comprising information of shareable partial areas of the content to be displayed; control the display to display the content based on the rendered configuration data; detect a plurality of inputs via the input/output interface for selecting a plurality of respective ones of the shareable partial areas of the displayed content by detecting whether the touch input or the hovering input corresponding to respective inputs of the plurality of inputs occurs on the display through the input/output interface; insert information indicating that the corresponding selected plurality of partial areas are to be shared into the share-tag of the configuration data of the content; detect (503, 703, 911) the inserted information indicating the plurality of partial areas in the share-tag; extract, from the displayed content, a plurality of rendered images each corresponding to a respective partial area detected in the share-tag; generate (505, 1103) a single image based on the plurality of rendered images; and control the communication interface to transmit the generated image to an external device. render configuration data of a content to be displayed, wherein the configuration data is in a form of a markup language and comprises a share-tag said share-tag being a marker comprising information of shareable partial areas of the content to be displayed; control the display to display the content based on the rendered configuration data; detect a plurality of inputs via the input/output interface for selecting a plurality of respective ones of the shareable partial areas of the displayed content by detecting whether the touch input or the hovering input corresponding to respective inputs of the plurality of inputs occurs on the display through the input/output interface; insert information indicating that the corresponding selected plurality of partial areas are to be shared into the share-tag of the configuration data of the content; detect (503, 703, 911) the inserted information indicating the plurality of partial areas in the share-tag; extract, from the displayed content, a plurality of rendered images each corresponding to a respective partial area detected in the share-tag; generate (505, 1103) a single image based on the plurality of rendered images; and control the communication interface to transmit the generated image to an external device.