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

Example

Meta 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 »

Browser Support

Attribute
content Yes Yes Yes Yes Yes

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.