Answers for "what tag is used to display a picture in a html page"

2

html picture

<picture>
  <source media="(min-width:650px)" srcset="img_pink_flowers.jpg">
  <img src="img_orange_flowers.jpg" alt="Flowers" style="">
</picture>
Posted by: Guest on July-18-2021
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

Code answers related to "what tag is used to display a picture in a html page"

Browse Popular Code Answers by Language