English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
: <progress> tag
The link sizes attribute specifies the size of the visual media icon and is used only when rel = "icon".
Specify the size of the link icon: Example <!DOCTYPE html <html - <head3<title>HTML: <link> sizes attribute/Basic Tutorial Website (w title>codebox.com)</title>/<link rel="icon" href="haha.gif" type="image16x16"> <body <h2>Hello world!<</h2> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
Currently, almost no mainstream browsers support the sizes attribute.
link Sizes attribute specifies the size of the visual media icon.
is used only when rel =" icon".
The sizes attribute is an HTML5 new attribute added.
<link sizes="HeightxWidth|any">
Value | Description |
---|---|
HeightxWidth | Specifies one or more sizes for the linked icon. Height and width are separated by an "x" or "X". Example s:
|
any | Specifies that the icon is scalable (such as SVG images). Example:
|