[an error occurred while processing this directive]
Miscellaneous Tags

This page is part of the WebCom Web Publishing Guide. It explains the syntax for inserting comments into an HTML document and to how insert horizontal rules.


Inserting Comments

Comments do not show up when the document is displayed.

<!-- This is a comment. Don't forget the ! before the two dashes ("--"), or the comment will be displayed. -->

Notes:


Horizontal Rule


<HR>

The horizontal rule tag creates a line accross the page. It is usually used to separate sections of a document (such as the main portion from the "signature", as done below). The appearance of the line is dependent on the browser used to display the document. Sometimes images are substituted in place of the <HR> tag.


Hotlink to E_mail Address

nobody@webcom.com

<A HREF="mailto:nobody@webcom.com">nobody@webcom.com</A>

This URL will cause an e-mail form to be displayed by Web browsers that support the mailto URL. A user can then send a message to the address shown. The only drawback to using this is that NCSA Mosaic does not support it. Using the e-mail address as the label is standard practice, since most people selecting it will know that a e-mail form will appear.


Redirecting to another page

You can have one page cause another page to be automatically be loaded after a specified amount of time with the following META tag:

<META HTTP-EQUIV="refresh" content="#;URL=$url">

Where "#" is the amount of seconds to wait before loading the next page, and "$url" is the address of the next page to load.

Example:

<META HTTP-EQUIV="refresh" content="5;URL=http://webcom.com/~webcom/html/">

Forcing browsers to reload page instead of retrieving from cache

Including the following tag in the <HEAD> section of your document usually prevents the browser from retrieving the page from cache, even when the page has been recently accessed by that client.

<meta http-equiv="pragma" content="no-cache">

[an error occurred while processing this directive]