Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

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