English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Das link Sizes-Attribut bestimmt die Größe des visuellen Media-Icons und wird nur bei rel = "icon" verwendet.
Bestimmen Sie die Größe des Link-Icons:
!DOCTYPE html <html <head <title>HTML:<link> sizes-Attribut - Grundlagen-Tutorial-Website(oldtoolbag.com)</title> title>codebox.com)</<link rel="icon" href="haha.gif" type="image16x16"> <body <h2>Hallo Welt! </h2> </body> </html>Testen Sie es heraus ‹/›
IEFirefoxOperaChromeSafari
Currently, almost no mainstream browsers support the sizes attribute.
The link Sizes attribute specifies the size of the visual media icon.
This attribute is only used when rel =" icon".
The sizes attribute is an HTML5 new attribute added.
<link sizes="HeightxWidth|any">
Value | Description |
---|---|
HeightxWidth | Specify one or more sizes for the linked icon. The height and width are separated by an "x" or "X". Example s:
|
any | Define that the icon is scalable (such as SVG images). Example:
|