Meta Tag in HTML:

Meta tag contain data about data means this tag contain all information about that page. This tag is very important for SEO (Search Engine Optimization) ranking. The Meta tag will not display the information written in it on browser. The information is very useful for search engines.

The Meta tag will always be placed inside <head> tag. So when the browser scrawls the html document the Meta tag recognized in the starting of page. The most common and useful attribute of Meta tag is “name” and “content”.

Example:

Simple mete tag example

We can also set the author of page, keywords, charset etc. Look at following examples to understand Meta tag.

Example:

In following example we set the “Author” of a page

Example:

In below example we set “charset”

Example:

In following example we specifies the “Keywords”

Example:

In following example we “Refresh” the page in every 40

 

 

One response to “Meta Tag in HTML”

  1. Angus says:

    You share interesting things here. Very nice tutorial ………..

Leave a Reply

Your email address will not be published. Required fields are marked *