HTML <meta> content Atrybut
Przykład
Opisz metadane w dokumencie HTML:
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
Definicja i użycie
content
Atrybut podaje wartość powiązaną z atrybutem lub
http-equiv
.name
Obsługa przeglądarki
Attribute | |||||
---|---|---|---|---|---|
content | Yes | Yes | Yes | Yes | Yes |
Składnia
<meta content="text">
Wartości atrybutów
Value | Description |
---|---|
text | The content of the meta information |
❮ HTML <meta> tag