HTML content Attribute
Example
<head>
<meta charset="UTF-8">
<meta name="language" content="EN">
<meta name="description" content="add up to 160 characters">
<meta name="keywords" content="your, keywords">
<meta name="robots" content="index, follow">
<meta name="copyright"content="company">
<meta name="author" content="John Doe, email@domain.com">
<meta name="distribution" content="Global">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
Meaning
The content attribute contains the actual meta-information. The form of the meta-information varies greatly, depending on the value set for name.
Standard Syntax
<element content="text">
Applies to:
The content attribute can be used on the following element:
Advertisement
Attribute Values
| Value | Description |
|---|---|
| text | (String) Gives the value of the document metadata(information). |