It is an essential task to make the HTML document attractive and engaging to the users. This cannot be achieved solely with text; thus, HTML comes with the feature of inserting images onto the HTML document. The image can be styled and manipulated using CSS properties, as per the developer’s necessity.

HTML Images

As discussed before, the image is inserted using the element.

Syntax: <img src=”url” alt=”Alternate name to be displayed”>

#html

HTML Images - HTML Img Tag
8.40 GEEK