Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html picture tag

<picture>
  <source media="(max-width: 799px)" srcset="elva-480w-close-portrait.jpg">
  <source media="(min-width: 800px)" srcset="elva-800w.jpg">
  <img src="elva-800w.jpg" alt="Chris standing up holding his daughter Elva">
</picture>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #html #picture #tag
ADD COMMENT
Topic
Name
3+3 =