Horje

How to add grid Value in HTML <source> media Attribute

grid Specifies if the output device is grid or bitmap.
Possible values are "1" for grid, and "0" otherwise.
Example: media="handheld and (grid:1)"
index.html
Example: HTML
<source media="handheld and (grid:1)" srcset="https://horje.com/avatar.png">

Output should be:

How to add grid Value in HTML <source> media Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin