Horje

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

height Specifies the height of the targeted display area.
"min-" and "max-" prefixes can be used.
Example: media="screen and (max-height:700px)"
index.html
Example: HTML
<source media="screen and (max-height:700px)" srcset="https://horje.com/avatar.png">

Output should be:

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




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