HTML sizes Attribute
Definition and Usage
The sizes
attribute specifies the sizes of icons for visual media.
This attribute is only used if rel="icon"
.
Applies to
The sizes
attribute can be used on the following element:
Element | Attribute |
---|---|
<link> | sizes |
Example
Icon with specified size:
<link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16">
Try it Yourself »
Browser Support
Attribute | |||||
---|---|---|---|---|---|
sizes | Not supported | Not supported | Not supported | Not supported | Not supported |
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.