What does the <img> tag do in HTML?

Prepare for the CIW Site Development Associate Exam with flashcards and multiple choice questions, complete with hints and explanations to ensure success. Ace your certification with our comprehensive tools!

The tag in HTML is specifically used to embed images on a web page. This tag is essential for displaying graphics and photographs, making it a fundamental part of web design. The tag requires a source attribute, usually written as src, which points to the location of the image file, allowing browsers to fetch and display the image correctly. Additionally, it can include attributes such as alt, which provides alternative text for the image if it cannot be displayed, enhancing accessibility and search engine optimization.

In contrast, the other choices refer to different HTML elements. For instance, creating a hyperlink is accomplished using the tag, while defining a table involves the

tag. Including a script within a web page can be done with the