Link sizes Property
Example
Return the size of the linked icon:
var x = document.getElementById("myLink").sizes;
Try it Yourself »
Description
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.
Browser Support
Property | |||||
---|---|---|---|---|---|
sizes | Yes | Not supported | Yes | Not supported | Yes |
Syntax
linkObject.sizes
Technical Details
Return Value: | The size of the icon |
---|
Related Pages
HTML reference: HTML <link> sizes attribute
❮ Link Object
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.