JCL's Tutorial On Meta Commands

Creating Dynamic Pages

Have you ever seen a Cache Cleanup on the status bar (where Document: Done appears) before the page has completely loaded and were you surprised to see that Cache Cleanup didn't occur while this page was loading? Wouldn't you like to know a way to have a real description of the web page you submit to a search engine instead of a description of text that can be found on that page and wouldn't you like to select the words a visitor to a search engine would type in for your page to appear? Beleive it or not, you can do all these things with something called a meta command. Meta commands can be used for comments to Search Engines, preventing Cache Cleanup, and creating dynamic pages. This tutorial does not deal with dynamic pages because if you click here, you will see a tutorial I made especially for dynamic pages. There very well may be other things you can do with meta commands, but I don't know of any others. If you do know a meta command I am leaving out, please e - mail me.

<meta name = "keywords" content = "jcl,jcl,jcl,html,html,html,javascript,javascript,javascript,tutorial,tutorial,tutorial,web,web,web,design,design,design,win,win,win,awards,awards,awards,home,home,home,page,page,page,cgi,cgi,cgi">

Above is the meta name command I use on my main page. The meta name = "keywords" part tells the computer the name of the comment is keywords. Content = "jcl,jcl,jcl,html,html,html,javascript,javascript,javascript,tutorial,tutorial,tutorial,web,web,web,design,design,design,win,win,win,awards,awards,awards,home,home,home,page,page,page,cgi,cgi,cgi" tells the computer the comment is jcl,jcl,jcl,html,.......tells the content of the keywords comment. When you submit your page to most search engines, they look for the meta command named keywords to find out the words that a visitor to a search engine would look up to find your page. For example, if you have the words cool,home,page in your meta command named keywords, a visitor to the search engine you submitted your page could type in cool, home, page, or age for your page to come up as one of the entries. The person could also type in any of the letters in cool, home or page to have your page come up as one of the entries. It is better to plural words than singular words for keywords because your page will get listed more. For example, if you had the word dogs, a person who looks up dog or dogs would find your page because dog is in the word dogs, If you just had dog, the person who looked up dogs would not find your page. Also, it is a good idea to use the same word more than once in your meta keywords command because search engines list the pages with the best matches for the visitor 's word(s) he/she typed in so the page with one word matching the visitor's word(s) typed in will get listed after the page with two or more words matching. If you do not place this meta command, search engines will use your title's words or description as the keywords.

<meta name = "description" content = "An HTML & JavaScript Tutorial and a place to win an award for your page (CGI soon to come)">

This meta command is typed in the same way as the above meta command with the exceptions of a different name and different content. Most search engines pick out the meta command named description and use the content of it for the description of your page. If you do not use this meta command, the search engine will take out text from either the top or somewhere in the middle of the page for the description.

<meta name = "Select_A_Name" content = "Your Comments">

A meta command can be named anything and will use the content for a regular comment that may be useful for search engines in seperating your page from others similar to your page.

<meta http-equiv = "Jon Eyrick" content = "no-cache">

Cache cleanups are used to store a page's information on your hard drive so when you access the same page at another time, the computer will compare the one on the hard drive with the one on the Internet causing the page to load faster. It loads faster because unless the page is 100% different, most of the information is already stored. Unfortunately, Cache Cleanups take time, making the page load slower the first time accessed. Luckily, there is a way to get rid of Cache Cleanup. Here's how the above coomand works:
The meta http-equiv part tells the computer to do something. Jon Eyrick is what it it is what it is called. The Jon Eyrick can be changed to any name, but I wouldn't change it because it's like saying thank you for a command I would have never thought was possible (it's credit for the author). Content = "no-cache" basically does what it sounds like, it prevents Cache Cleanup from occuring when the page loads.

Resubmitting Your Page

If you have already submitted your page to a search engine and add the meta comments such as keywords later on, the search engine will not know that you have added the meta commands and therefore will not use them unless you resubmit your page.

JCL's HTML & JavaScript Tutorial
E-Mail Me