Example
Describe metadata within an HTML document:
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
Try it Yourself »
Definition and Usage
The content attribute gives the value associated with the http-equiv or name attribute.
Browser Support
Attribute | |||||
---|---|---|---|---|---|
content | Yes | Yes | Yes | Yes | Yes |
Differences Between HTML 4.01 and HTML5
NONE.
Syntax
<meta content="text">
Attribute Values
Value | Description |
---|---|
text | The content of the meta information |