Logo
  Sunday, August 31, 2014
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <meta> Tag  
When authors have the need to add metadata to the HTML document, the HTML5 <meta> tag has to be incorporated within the document. Metadata is best described as the information which pertains to the data in the document. This may not be visible for users once they open the web page which contains the HTML document but it is important for the machine to read.

Typically, the HTML5 <meta> tag is utilized for providing information like the page description, keywords used, name of the document’s author and date of last modification.

It has to be remembered that when the HTML5 <meta> tag is used, this should be placed within the head element.

The good thing is that the HTML5 <meta> tag is compatible with most of the major websites that are being used these days. Whether the user has Internet Explorer, Google Chrome, Safari, Firefox or Opera installed in his/her computer or device, using the HTML5 <meta> tag has no negative effect. However, it is capable of supporting only the Global Attributes.

The use of <meta> tag has a slight difference in HTML5 and HTML4.01. First, the scheme attribute is no longer functional in HTML5. For HTML5, it has a new attribute called charset.

The attributes for HTML5 <meta> tag are the following:

Attribute

Value

Description

charset

character_set

This is the key in determining the character encoding that is used for the HTML document

content

text

This is the key in providing the value that is related to the name attribute or http-equiv

http-equiv

content-type
default-style
refresh

This is essential in adding an HTTP header which applies for the information or value of the content attribute

Name

application-name
author
description
generator
keywords

It is utilized in providing a name for the metadata within the document

Scheme

format/URI

This is no longer supported and used in HTML5

Print HTML5 <meta> Tag Bookmark HTML5 <meta> Tag

Related Articles  
The HTML5 <base> Tag
The HTML5 <base> tag is particularly the target or the base URL for all the relative URLs in an HTML document. ...
The HTML5 <textarea> Tag
The HTML5 <textarea> tag is essential for HTML document because this specifies a multi-line text input control.
The HTML5 <select> Tag
The HTML5 <select> tag is primarily used in creating a drop down list within an HTML document. This drop down ...
The HTML5 <strong> Tag
The HTML5 <strong> tag is applied on an HTML document such that extra emphasis can be given on an important text.
The HTML5 <center> Tag
The <center> tag is no longer used for HTML5. Before, it is used for putting text and content in center-align ...
The HTML5 <table> Tag
The HTML5 <table> tag is mainly used for putting tables within an HTML document. When the HTML5 <table> tag ...
More