Horje
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

Browser Support


How to Describe metadata within an HTML document

The meta elements of this document describe the document and its keywords.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
  <meta name="description" content="Free Web tutorials">
  <meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
<body>

<p>The meta elements of this document describe the document and its keywords.</p>

</body>
</html>

Output should be:

How to Describe metadata within an HTML document




html content attribute

Type:
Develop
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference