Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

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