CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <picture> element

The <picture> Element


Additional links:

Embedded ContentNew in HTML5

The <picture> element allows authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors.

Attributes for <picture>
TypeAttribute List
'Standard' Attributes(none)

Syntax Notes for <picture>

  • This element should contain zero or more <source> elements followed by one <img> element. It may also contain script-supporting elements like <script>.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem