Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.
What is <img> tag and how is it used?
Experience Level: Junior
<img> tag defines an image in an HTML page.
It has a two required attributes:
- is use for the URL of image
- is alternative text
- use for when image can not be loaded on web page
Related HTML job interview questions
Can you give 10 examples of the most used attributes?HTML Junior
What is <a> tag and how is it used?HTML Junior
What is a <form> tag?HTML Junior
What is a <pre> tag?HTML Junior
What is a <code> tag?HTML Junior