HTML <link> tamanhos Atributo
Exemplo
Ícone com tamanho especificado:
<link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16">
Definição e uso
O sizes
atributo especifica os tamanhos dos ícones para mídia visual.
Este atributo só é usado se rel="icon"
.
Suporte ao navegador
Attribute | |||||
---|---|---|---|---|---|
sizes | Not supported | Not supported | Not supported | Not supported | Not supported |
Sintaxe
<link sizes="HeightxWidth|any">
Valores de atributo
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:
|
❮ Tag HTML <link>