0

How to add image source

13th Jul 2018, 3:44 PM
Himanshu bansal
1 Answer
+ 2
Hello, Himanshu bansal ! <img> is intended for displaying on a web page of images in a graphic format GIF, JPEG or PNG. The address of a file with a picture is specified through the attribute src. If necessary, the drawing can be made a link to another file by placing the <img> tag in the container <a>. In this case, a frame around the image is displayed, which can be removed by adding the border = "0" attribute to the <img> tag. Figures can also be used as map images when the picture contains active areas serving as references. Such a map in appearance does not differ from the usual image, but it can be broken into invisible zones of different forms, where each of the regions serves as a link. Also the image can be downloaded to any hosting, after copying the link with the extension jpg, png, etc... Syntax HTML: <img src = "URL" alt = "alternative text" /> Also you can see this lesson on SoloLearn. https://www.sololearn.com/learn/HTML/1030/?ref=app
13th Jul 2018, 3:51 PM
Alexander Sokolov
Alexander Sokolov - avatar