HTML-<link> -Size -Attribut
Beispiel
Symbol mit angegebener Größe:
<link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16">
Definition und Verwendung
Das sizes
Attribut gibt die Größen von Symbolen für visuelle Medien an.
Dieses Attribut wird nur verwendet, wenn rel="icon"
.
Browser-Unterstützung
Attribute | |||||
---|---|---|---|---|---|
sizes | Not supported | Not supported | Not supported | Not supported | Not supported |
Syntax
<link sizes="HeightxWidth|any">
Attributwerte
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 <link>-Tag