Which tag is used for inserting an image in a web page?

Q6. Which tag is used for inserting an image in a web page? Explain with an example.
Ans.
The <IMG> tag is used for inserting an image in a document, for example,
< HTML>
<HEAD>
<TITLE> Inserting an image</TITLE>
</HEAD>
< BODY>
<IMG SCR=”water.jpg”>
</BODY>
</HTML>

Leave a Reply

Your email address will not be published. Required fields are marked *

3 Views
%d bloggers like this: