The HTML content Attribute is given the values related to the http-equiv or name attribute. The content attribute can associated with the <meta> element.
Note: This attribute is depreciated from HTML 5.
Supported Tags:
- <meta>
Syntax:
<meta content="text">Attribute Values: It contains the text's values that specify the meta information's content.
Example: This Example illustrates the use of content attribute.
<!DOCTYPE html>
<html>
<head>
<title>
content attribute in HTMLs
</title>
<meta name="keywords"
content="content attribute
in Meta Tag, Metadata" />
</head>
<body style="text-align:center;">
<h1> GeeksforGeeks</h1>
<h2>Content Attribute In HTML</h2>
</body>
</html>
Output:

Supported Browsers: The browser supported by HTML content Attribute are listed below: