Answers for "how to use picture tag in html"

5

img tag

<img src="the source image's url" alt="the image's description">
Posted by: Guest on May-04-2020
0

picture and img tag

<img srcset="image-400.jpg 400w,
             image-800.jpg 800w,
             image-1600.jpg 1600w"
     sizes="(min-width: 1280px) 600px,
            (min-width: 768px) 500px,
            100vw"
     src="image-800.jpg"
     alt="Munster Dom">
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language