The content
attribute on a <meta> tag specifies the value of a name or http-equiv meta setting.
This attribute requires a name or http-equiv attribute.
Two meta
tags with a content
attribute.
The first has a name/content
pair, and the second an http-equiv/content
pair.
<meta name="description" content="Real-time Stock Tickers">
<meta http-equiv="refresh" content="30">
meta
= metadata
Tip: Metadata is data about the page that the browser uses to render the page correctly.
The content
attribute holds the value of the name or http-equiv meta attribute.
This attribute requires the name or http-equiv attribute to be present.
<meta name="value" content="text">
Value | Description |
---|---|
text | An alphanumeric string value. |
Here is when content
support started for each browser:
Chrome
|
1.0 | Sep 2008 |
Firefox
|
1.0 | Sep 2002 |
IE/Edge
|
1.0 | Aug 1995 |
Opera
|
1.0 | Jan 2006 |
Safari
|
1.0 | Jan 2003 |
Back to <meta>