W3Schools.com

HTML5 <meta> content Attribute

HTML5 meta Tag Reference HTML5 <meta> tag

Example

Describe 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 Explorer Firefox Opera Google Chrome Safari

The content attribute is supported in all major browsers.


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


HTML5 meta Tag Reference HTML5 <meta> tag
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE