HTML <meta> content Atribut

❮ HTML značka <meta>

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 contentudává hodnotu spojenou s atributem http-equivnebo 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>