Home Menu

picture

The picture HTML element is a container which provides multiple sources to its contained img element.

Syntax

HTML

<picture attribute-name="attribute-value"></picture>

Attributes

Global

Examples

media

srcset

type

Web Hypertext Application Technology Working Group (WHATWG)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms