Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

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