HTML includes images from its 4th version (HTML-4) ie since 1998. Images enhance the look and feel of a website. We uses images as a logo, banner, icons, symbols, product etc.
<img src="logo.png" alt="alternate text of image" >
|src||source or path of image ( compulsory )|
|alt||alternate text for image ( compulsory )|
|title||show text on mouse over of a image|
|width||control width of an image|
|height||control height of an image|
alt attributes is compulsory in every image tag. It helps google and other search engines to search images. If in any case image fail to upload, alt text hold the space and tell user about image.