English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

Complete List of HTML Tags

HTML meta content attribute

content attribute provides information with http-values associated with the equiv or name attribute.

 HTML <meta> tag

Online Example

Describes metadata in HTML documents:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML: <meta> charset Attribute - Basic Tutorial Website(oldtoolbag.com)</title>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML5,CSS3,PHP, JAVA, C++">
</head>
<body>
<p>This document's meta describes the document and its keywords.</p>
</body>
</html>
Test to see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the content attribute.

Definition and Usage

The content attribute provides information related to http-Values related to the equiv or name attribute.

HTML 4.01 With HTML5Differences

None.

Syntax

<meta content="text">

Attribute value

ValueDescription
textContent of meta information.
 HTML <meta> tag