What tag is used to mark up an image in a webpage?

Figure Tag

Img Tag

The "img" tag is used to embed images in a webpage, making it integral to HTML coding. This tag allows developers to display images and requires an "src" attribute that tells the browser where to find the image file. Additionally, the "alt" attribute can be included to provide alternate text that describes the image, enhancing accessibility for users who rely on screen readers.

Unlike the "figure" tag, which is utilized to encapsulate images and their captions, the "img" tag is specifically designed for inserting the image itself into the document. The "map" tag is used to define an image map for client-side image maps, linking different areas of an image to different destinations, and the "photo" tag does not exist in HTML and is not a standard way to mark up images. Thus, the "img" tag stands out as the correct choice for marking up images on a webpage.

Map Tag

Photo Tag

Want more questions?

All options are one-time payments.

$25.99

30 day pass for new members

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$59.99$171.99 usd

6 month DELUXE pass (most popular)

Full access FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • $171.99 usd value for $59.99! You save $106!
  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 6 months of full access
  • Ultimate digital PDF study guide included
  • Priority support
$15.99 $24.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy