The "picture" Element

Related:

Additional links:

New in HTML 5.1

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