HTML <meta> contentAttribute

HTML meta 标签参考手册HTML <meta> Tag

Example

Describes 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

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the content attribute.


Definition and Usage

The content attribute gives the value associated with the http-equiv or name attribute.


Differences Between HTML 4.01 and HTML5

None.


Syntax

<meta content="text">

Attribute Values

Value Description
text The content of the meta information.


HTML meta 标签参考手册HTML <meta> Tag Other Extensions