HTML meta content attribute
Examples
Descriptive metadata within an HTML document:
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
</head>
try it"
Browser Support
All major browsers support content property.
Definition and Usage
content attribute gives the name or http-equiv attribute associated values.
Differences between HTML 4.01 and HTML5
no.
grammar
<meta content="text">
Property Value
值 | 描述 |
---|---|
text | meta 信息的内容。 |
HTML <meta> tag