HTML <link> href Atribut
Příklad
Odkaz na externí šablonu stylů:
<link rel="stylesheet" href="styles.css">
Definice a použití
Atribut href
určuje umístění (URL) externího zdroje (nejčastěji souboru šablony stylů).
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
href | Yes | Yes | Yes | Yes | Yes |
Syntax
<link href="URL">
Hodnoty atributů
Value | Description |
---|---|
URL | The URL of the linked resource/document. Possible values:
|
❮ HTML tag <link>