0
How to add images into the HTML document?
I don't understand that lesson, so I would like you to explain kindly, please.
4 ответов
+ 2
To add an image you would use the <img> tag, the 'src' attribute gives the location of the image be it a url from a website or the location from your local drive folder when developing a website and the 'alt' attribute gives it an description in case the image didn't load
exmple: <img src="example.jpg" alt="image example">
if you want to visit this site and give it a read it will help
http://www.w3schools.com/html/html_images.asp
+ 2
Thank you very much for your answering.
I thought no one answered me.
+ 1
<IMG src=" image.jpg"/> for that code it will display an image of top left corner of the page.we can resize the image with widhth and hieght attributes
+ 1
<img src="photo.jpg" alt="photo 1">
It's must have in same folder .