Example:
HTML
<picture>
<source media="(min-width: 650px)" srcset="https://horje.com/avatar.png">
<source media="(min-width: 465px)" srcset="https://horje.com/avatar.png">
<img src="https://horje.com/avatar.png" alt="Flowers" style="width:auto;">
</picture>
How to add A link with a media attribute | HTML Attribute |
How to add An image map, with a clickable area | HTML Attribute |
How to add Two different style sheets for two different media types (screen and print) | HTML Attribute |
How to Use of the media attribute | HTML Attribute |
How to add Specify the style to use for print | HTML Attribute |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |