How to represent an image in HTML ?

About

An image in HTML can be represented by:

  • the img element (from raster to svg image)
  • the svg element
  • the picture element

The img and picture element can be used to defined responsive image (ie a serie of image with different dimension for each screen size).

See How to create responsive images in HTML ? (from A to Z)





Discover More
HTML - Object Element (External Content)

An object represents an external resource which depending on the type of the resource, will either be treated as: an image a child / nested browsing context, or as an external resource to be...



Share this page:
Follow us:
Task Runner