In-line Images in HTML
may also add images to a web page. The images in “.gif” or “.jpg” or
“.jpeg” file formats are usually used because of their small size. The
basic tag for in-line images is /font>img src="location">
is also recommended to add height and width attributes to the img tag.
It is also recommended to use the alt="any text" attribute. This text
appears in place of picture when the picture is still loading or they
are not viewing images. The image tag has no closing tag.
/font>img src="logo.gif" width=200 height=50 alt="loading…">
Note: Apply the above example in Notepad and Internet Explorer and see the result.