HTML <meta> content Atribut
Příklad
Popište metadata v dokumentu HTML:
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
Definice a použití
Atribut content
udává hodnotu spojenou s atributem
http-equiv
nebo name
.
Podpora prohlížeče
Attribute | |||||
---|---|---|---|---|---|
content | Yes | Yes | Yes | Yes | Yes |
Syntax
<meta content="text">
Hodnoty atributů
Value | Description |
---|---|
text | The content of the meta information |
❮ HTML značka <meta>