|
When indexed by search engines such as Alta-Vista instead of showing the first 20 or so words of your page which are often fairly meaningless you can tell set the description for your site by
using the tag below. You must place all <META> tags between <HEAD> & </HEAD> at the top of the page. You should include this "description" <META> tag on every
page. You can include any number of different <META> tags on each page.
<META NAME="description" CONTENT="Demonstrations
Of Advanced HTML">
The "keywords" <Meta> tag allows you to specify a load of words which are related to your page, for instance for this page I might have. When someone enters these words into a
suitable search engine your page will have more chance of getting displayed.
<META NAME="keywords" CONTENT="HTML,Advanced,
Search,Floating Frames">
The robots tag has 4 main "CONTENT" words that you can use, these are "index, follow, noindex & nofollow". If you put "index" the robot indexes your page, if it
sees "follow" it will follow the links on that page. The "noindex" and "nofollow" do the opposite. You can have two of these in the tag but you can't have opposite ones,
for example "index,noindex" is not allowed.
<META NAME="robots" CONTENT="index,follow">
Most search engines allow you to precisely control how and what parts of your site are indexed by placing a "robots.txt" file on your site. See
The Web Robots Pages for more details.
On some web sites you may have noticed that after about a few seconds it automatically redirects you to another page. This redirect effect can be easily achieved by putting the following between the <HEAD></HEAD>
tags.
<META HTTP-EQUIV="Refresh" CONTENT="2;
URL=advancedhtml.htm">
The CONTENT is the number of seconds that the browser waits before refreshing the page and the URL is the page loaded. Compatability: Many earlier browsers do not support the
refreshing capabilities of this tag so be sure to include a normal link to the next page as well or some people will not be able to enter the next page.
If you want to force a break so the next line of text starts after a picture use <BR CLEAR="all">
...Then the next thing you write will appear after the picture instead of next to it.
Spaces - If you want to add more than one space between words then you may have found that just putting a load of blank spaces in the document has no effect on the viewed HTML page. This
is because browsers are programmed to ignore multiple spaces. Instead of trying to put multiple spaces between the two words using the space bar put lots of between them. eg
Big Space!
If you want to know some more general HTML Stuff look at my HTML Frequently Asked Questions Page
Last Updated 1st July 1999 - List
Of Recently Updated Pages
|