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:
Example
Meta Example
Describe metadata within an HTML document:
<head>
<meta name="description" content="Programming in a way to understand">
<meta name="keywords" content="HTML,CSS,Android,JavaScript">
</head>
<meta name="description" content="Programming in a way to understand">
<meta name="keywords" content="HTML,CSS,Android,JavaScript">
</head>
Browser Support
| Attribute | |||||
|---|---|---|---|---|---|
| content | Yes | Yes | Yes | Yes | Yes |
Comments
Post a Comment