Friday, 27 September 2013

What is The Meta Tag

                The Basics About The <meta> tag. 

1.Metadata is data (information) about data.
The <meta> tag provides metadata about the HTML document. 2.Metadata will not be displayed on the page, but will be machine parsable.
3.Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
4.The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.

Let me Explain You Better

Example 1 - Define keywords for search engines:
<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">

Example 2 - Define a description of your web page:
<meta name="description" content="Free Web tutorials on HTML and CSS">

Example 3 - Define the author of a page:
<meta name="author" content="#Griffin">

Example 4 - Refresh document every 30 seconds:
<meta http-equiv="refresh" content="30">


No comments:

Post a Comment