Which tag is used to embed images in an HTML document?
The
tag is used in HTML to embed images. It's an empty (or self-closing) tag, meaning it doesn't have a closing tag. You'll often use attributes like src (to specify the image source) and alt (to provide alternative text) with it. Other options like
Loading...
Related Quiz
- What is the purpose of the "th" element in a table?
- How is the blockquote element commonly displayed in browsers by default?
- While creating an e-commerce webpage, how would you structure the body content to ensure a user-friendly interface and seamless navigation?
- Can HTML comments be nested?
- Which HTML element is used to define a short inline quotation?