A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-link-sizes-attribute/ below:

HTML | <link> sizes Attribute

HTML | <link> sizes Attribute

Last Updated : 19 Oct, 2020

The

HTML link sizes Attribute

is used to specify the sizes of the icon for visual media and it only works when

rel=”icon”

. It is a read-only Property.

Syntax:
<link sizes="HeightxWidth | any">
Attribute Values Example: html
<!DOCTYPE html>
<html>

<head>
    <link id="linkid"
          rel="stylesheet" 
          type="text/css"
          href="styles.css" 
          sizes="16*16">
</head>

<body style="text-align:center;">
    <h1>GeeksForGeeks</h1>
    <h2>HTML <Link> sizes Attribute</h2>
</body>

</html>
Output: Supported Browsers:

No browser supported by HTML <link> sizes Attribute.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4