<meta content="">
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- <meta> HTML Tag
- What does
<meta content="">
do? - Defines the values for the meta element.
The content
attribute of the meta
element contains its values. This is used with the name
attribute to specify metadata about the page.
Used With Name Attribute
content
is essentially a container for the metadata defined in the name
attribute. You’ll often see this used to describe the description and keywords of a page, which may be helpful from an SEO perspective (depending on the search engine). We can also specify
<meta name="description" content="The website for flamingo fans all over the world."> <meta name="keywords" content="flamingos, birds, american flamingo, beta carotene, pink plumage"> <meta name="author" content="Claire Broadley">
Obsolete Usage With HTTP-Equiv Attribute
While the content
examples that follow were correct in HTML 4, HTML 5 has rendered the use of http-equiv
obsolete.
<meta http-equiv="refresh" content="1800"> <meta http-equiv="default-style" content="styles.css">
Browser Support for content
All | All | All | All | All | All |