Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

picture html tag

<!--Change the browser window width to see the image change.-->

<picture>
    <source srcset="/media/cc0-images/surfer-240-200.jpg"
            media="(min-width: 800px)">
    <img src="/media/cc0-images/painted-hand-298-332.jpg" alt="" />
</picture>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #picture #html #tag
ADD COMMENT
Topic
Name
4+1 =