Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

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