Tuesday, November 20, 2012

HTML meta elements:

Metadata is information about data. The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parable.
Meta elements are typically used to specify page description, keywords, author of the document, last modified and other metadata.
The <meta> tag always goes inside the head element. The metadata can be used by browser(how to display content or reload page), search engines(keyword) or other web services.



Keywords for search engine
Some search engine will use the name  and content attributes of the meta element to index your pages.
The following meta element defines a description of a page.
<meta names=”description” content=”Nepal is a beautiful country”/>

The following meta element defines keywords for a page.
<meta name=”keywords” content=”home, nepal”/>

No comments:

Post a Comment