English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
A propriedade sizes do link especifica o tamanho do ícone de mídia visual, usada apenas quando rel = "icon".
Especificar o tamanho do ícone do link:
!DOCTYPE html <html <head <title>HTML: Propriedade <link> sizes - Site de tutoriais básicos (oldtoolbag.com)<//title title>codebox.com)</<link rel="icon" href="haha.gif" type="image16x16"> <body <h2>Olá mundo! </h2> </body> </html>Teste e veja ‹/›
IEFirefoxOperaChromeSafari
Currently, almost no mainstream browsers support the sizes attribute.
link Sizes attribute specifies the size of visual media icons.
This attribute is used only when rel =" icon".
The sizes attribute is an HTML5 New attribute added in.
<link sizes="HeightxWidth|any">
Value | Description |
---|---|
HeightxWidth | Specify one or more sizes for the linked icon. Height and width are separated by an "x" or "X". Example s:
|
any | Specify that the icon is scalable (such as SVG images). Example:
|