1.

What is the purpose of <IMG> tag ? Mention it’s any two attributes along with their purpose. 

Answer»

<IMG> tag is used to insert images in any webpage. 

Its two main attributes are as follows:

SRC : It specifies the URL of the image.

 ALT :  It specifies an alternate text for an image.



Discussion

No Comment Found

Related InterviewSolutions