Tutorials References Exercises Bootcamp Menu
Sign Up Create Website Get Certified Pro

HTML content Attribute

Definition and Usage

The content attribute gives the value associated with the http-equiv or name attribute.

Applies to

The content attribute can be used on the following element:

Element Attribute
<meta> content


Meta Example

Describe metadata within an HTML document:

<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
Try it Yourself »

Browser Support

content Yes Yes Yes Yes Yes