|
HTML
Title Tag Length
There are no hard and
fast rules regarding the length of title and meta description tags. However
the recommended length of title is somewhere between 65 to 70 characters including spaces, because more than this likely to be truncated in the search results. So try
to keep the title length to 65
characters including spaces for best possible rendering. You can go up to
69 characters in total, but try not to exceed this.
HTML Meta Description
Tag Length
The suggested length of meta
description is somewhere between 155 to 160 characters including spaces. You
can even use fewer characters and it works great if your descriptions looks
appealing and read better but don't try to create lengthy descriptions or
description with more than 160 characters.
HTML lets you specify metadata
- additional important information about a DOCUMENT in a variety of ways. The META elements can
be used to include name/value pairs describing properties of the HTML
document, such as author, expiry date, a list of keyword, document author
etc.
The <meta> tag is used to provide such
additional information. This tag is an empty element and so does not have a
closing tag but it carries information within its attributes.
You can include one or more meta tags in your document based on what information you want to keep
in your document but in general, meta tags do not impact physical appearance
of the document so from appearance point of view, it does not matter if you
include them or not.
Meta Keywords
What is
a meta keyword ?
Meta keywords are no longer used by Google or Bing to
determine a site's ranking (relevance), so don't overthink meta keywords.
Smaller search engines still might use them in their algorithm, so we
recommend adding them anyway. They are invisible to site visitors both
on your site on in the search engines.
How to create meta
keywords
The meta keywords should follow these guidelines:
- The meta keywords should be
the same as the tags you're using in the article. The image below shows
that I'm using the article's tags as its meta keywords.
- Separate the keywords with
commas.
- Protip: While beneficial to
add to your website pages and blog posts, meta keywords don't hold as
much weight as they once did for on-page SEO
Adding
Meta Tags to
Your Documents :
You can add metadata to your
web pages by placing <meta> tags inside the header of the document
which is represented by <head> and </head> tags. A meta tag can have following
attributes in addition to core attributes:
|
Attribute
|
Description
|
|
Name
|
Name
for the property. Can be anything. Examples include, keywords, description,
author, revised, generator etc.
|
|
content
|
Specifies
the property's value.
|
|
scheme
|
Specifies
a scheme to interpret the property's value (as declared in the content
attribute).
|
|
http-equiv
|
Used
for http response message headers. For example http-equiv can be used to
refresh the page or to set a cookie. Values include content-type, expires,
refresh and set-cookie.
|
Specifying Keywords
:
You can use <meta> tag to
specify important keywords related to the DOCUMENT and later these keywords are used
by the search engines while indexing your webpage for searching purpose.
Keywords
Keywords are the words
people will type in to a search engine. If the keywords you have chosen are the
same as the ones they have put in, you come up in the search engine's results
pages. How high up you are depends on your ability to pick good words and use
a few tricks. First, the code:
<meta
name="keywords" content="france, europe, francais, french, la
baguette">
You just add in your
words, separated by commas (although these aren't necessary). You can put in
as many as you want, but I would advise against more than 25-30.
Many search engines regard pages with hundreds of keywords as spam pages, and delete them from their
indexes, and you don't want that.
Picking your keywords is
the trick. You should use the words you personally would use if you were
looking for a page about your topic. A good idea is to use key
phrases instead
of just words on their own.
Example
Following is an example where
we are adding HTML, Meta Tags, Metadata as important keywords about the
document.
<!DOCTYPE html>
<html>
<head>
<title>Meta Tags Example</title>
<meta name="keywords" content="HTML, Meta Tags, Metadata" />
</head>
<body>
<p>Hello HTML5!</p>
</body>
</html>
This will produce following
result:
Hello HTML5!
Document
Description :
You can use <meta> tag to
give a short description about the document. This again can be used by
various search engines while indexing your webpage for searching purpose.
Example
<!DOCTYPE html>
<html>
<head>
<title>Meta Tags Example</title>
<meta name="keywords" content="HTML, Meta Tags, Metadata" />
<meta name="description" content="Learning about Meta Tags." />
</head>
<body>
<p>Hello HTML5!</p>
</body>
</html>
Examples making Meta tags
|
| |
If you have some knowledge of codes and HTML you will be able to type meta tags in the source of your page. If you have no experience, start with the following examples. These HTML examples are made to help you understand HTML.
|
Start Simple
| |
| |
In our example we start with the most simple HTML. The title and a some text. If you look in the source of every webpage you will find these basic HTML codes.
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>My Testpage</title>
</head>
<body>
This is a test text.
</body>
</html>
|
|
Meta tags have to be placed in the so called HEAD part of the website. For example, we want to sell wooden garden furniture on our website. We start very simple by adding a title, keywords and a description. Take a look at the example below. We use colored letters in this example so it makes reading HTML easier. The colors have no effect or influence on the results in a search engine.
|
Step 1 Adjust the title
The first phrase you will see and will click on in the search engines is the title. Make sure your title is effective and attractive.
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>All our wooden furniture is water proof.</title> </head>
<body>
This is a test text
</body> </html>
|
Step 2 Adding keywords - keyword meta tag
Add maximal 20 keywords and seperate them from each other by a comma en a space.
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>All our wooden furniture is water proof.</title> <meta name="keywords" content="wood, furniture, garden, gardentable, etc.">
</head>
<body>
This is a test text
</body> </html>
|
|
Step 3 Adding a relevant description - description meta tag
The description are the phrases that will appear under every title in Google and other search engines. The search engines show the description you add to your meta tags so it's important to make a relevant description for every single page on your website.
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>All our wooden furniture is water proof.</title> <meta name="keywords" content="wood, furniture, garden, gardentable, etc."> <meta name="description" content="Official dealer of wooden garden furniture.">
</head>
<body>
This is a test text
</body> </html>
|
|
Step 4 Provide relevant information
Without a doubt a good website has to provide good information. If writing relevant text is not your thing, you should hire a writer to help you make your text relevant and easy to read.
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>All our wooden furniture is water proof.</title> <meta name="keywords" content="wood, furniture, garden, gardentable, etc"> <meta name="description" content="Official dealer of wooden garden furniture.">
</head>
<body>
Visit our showroom on weekdays from 9 to 5...
</body> </html>
|
|