HTML Meta Tags

Meta tags are tags within HTML code placed within the <head></head> section of your HTML code that help define the contents of a web page. For example, adescription meta tag is used by Internet search engines to display a description about your page in search engine results. Below is a listing of the different types of meta tags that could be used and a description about each meta tag. Today, it is not as important to include all these meta tags in your web page. The most important meta tags any web developer should be concerned with is the Content-Type meta tag and Description meta tag.


Content-Type meta tag

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Identify the content type and charset of the web page being displayed and how to display it. Although this line can be specified in a meta tag, if you have access to the .htacess filedefine the charset in that file instead, so it doesn't have to be specified in every web page.

No-cache meta tag

<meta http-equiv="cache-control" content="no-cache">
Lets the Internet browser know it should not cache the page. This will make sure the latest information is displayed to the visitor. It is only recommended that this tag be used on a page that is frequently updated since it will decrease the time it takes to load the page.

Audience meta tag

<meta name="audience" content="all">
Used with parental control software and robots to know the ages of viewers that can visit the page. This meta tag is not that important, but can be be useful for any adult related pages.

Author meta tag

<meta name="author" content="www.computerhope.com">
Description of the author of the page.

Content-Language meta tag

<meta name="Content-Language" content="english">
The Language the page is written in, in this case English. Today, this tag is not important if you classify the language in HTML tag. For example, <html lang="en"> at the beginning of your page.

Description meta tag

<meta name="description" content="Helping you with ALL your computer questions">
One of the most important meta tags that should be found on every page. The description meta tag describes what the web page contains and what it is about. This line is one of the many things a search engine uses to rank your page by using keywords contained in the description. The description length should be between 150 and 160 characters.

Generator meta tag

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
The software used to generate the web page.

Keywords meta tag

<meta name="keywords" content="computer, technical, free, help, support">
Keywords separated by commas that help describe what the page contains. Because of abuse, many search engines, including Google no longer look at the keywords.

Page-topic meta tag

<meta name="page-topic" content="Free Computer help">
Topic of the page, used by some search engines. Not all pages need this.

Page-type meta tag

<meta name="page-type" content="Technical Support">
The page, used by some search engines. Not all pages need this.

ProgID meta tag

<meta name="ProgId" content="FrontPage.Editor.Document">
Program used to edit the file. Similar to the generator.

Publisher meta tag

<meta name="publisher" content="Computer Hope">
The publisher of the web page.

Revisit-after meta tag

<meta name="revisit-after" content="15 days">
Notice to web robots indexing the page when to revisit next. It is recommended that therobots.txt file be used instead of meta tags to direct web robots.

Robots meta tag

<meta name="ROBOTS" content="Index, ALL">
This line lets any web robots know what pages to index. It is recommended that therobots.txt file be used instead of meta tags to direct web robots.
<meta name="ROBOTS" content="Index, FOLLOW">
A notice to web robots what action to take on the page, in this case follow all links on the page.

Comments

Popular posts from this blog

16 Design Tools for Prototyping and Wireframing

What is Functional and Non Functional Requirement

LESS CSS – Beginner’s Guide