Link sizes Property
Return the size of the linked icon:
The result of x will be:
Try it yourself »
Definition and Usage
The sizes property returns the value of the sizes attribute of the linked resource.
The sizes attribute specifies the sizes of icon for visual media, and is only used if rel="icon".
Note: The sizes attribute is currently not supported in any of the major browsers.
Note: This property is read-only.
The sizes property is currently only supported in Chrome and Opera.
Note: Opera 12 and earlier versions do not support the sizes property.
|Return Value:||The size of the icon|
HTML reference: HTML <link> sizes attribute
Thank You For Helping Us!
Your message has been sent to W3Schools.