HTML <link> sizes Atribut
Příklad
Ikona se zadanou velikostí:
<link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16">
Definice a použití
Atribut sizes
určuje velikosti ikon pro vizuální média.
Tento atribut se používá pouze v případě rel="icon"
.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
sizes | Not supported | Not supported | Not supported | Not supported | Not supported |
Syntax
<link sizes="HeightxWidth|any">
Hodnoty atributů
Value | Description |
---|---|
HeightxWidth | Specifies one or more sizes for the linked icon. The height and width values are separated by an "x" or "X". Examples:
|
any | Specifies that the icon is scalable (like an SVG image) Examples:
|
❮ HTML tag <link>