other tags


the <a> (anchor) tag
The <a> tag is used to link to another web page. The syntax is <a href="pagetarget.html">, and the closing tag is </a>. All text in between the opening and closing tags is underlined and colored according to the link="color" parameter in the <body> tag of the document, or the vlink="color" parameter if the target page has been visited before. Any graphics inside the affected area will have a border around them, unless specifically turned off with the border=0 parameter of the <img> tag (documented below). If the href="mailto:", then clicking on the link will bring up your email program to send a message to the address. (Modify "" to suit your needs.)


the <img> tag
The <img> tag is used for displaying images. These are the major parameters used to customize the displayed image:


the <nobr> and <br> tags
The <br> tag is used to allow more specific formatting of HTML text. Because standard HTML formatting (except inside <pre> preformatted text) disregards all coded hard returns, spaces, and tabs, the <br> tag has been added to allow the author to break a line inside of a paragraph. There are no parameters, and the tag has no closing tag.
The <nobr> tag is used with a closing tag, and disallows the browser from automatically breaking a line inside of the affected area. Because all browsers use 'smart wrapping' to ensure that no breaks are inserted in-between words, this tag is only used on special occasions.


the <hr> tag
The <hr> tag is used to display a horizontal line to separate sections in a web page. Line breaks are automatically inserted before and after the separator. These are the parameters available to customize the display:

These two lines were created with the following code:

<hr size=5 width=75% noshade color=#0000FF>

<hr size=8 width=300>




the <ul>, <ol>, and <li> tags
The <ul> (Unordered List) tag creates a simple bulleted list in a web page. The <ol> (Ordered List) tag is basically the same, except it supports several different types of list item numbering systems instead of being limited to bullets. It's type parameter defines how the list is displayed. It supports the following values:

To create list items, use the <li> tag. Note that the <li> tag is non-spanning, and does not require a closing tag. Look at this code to see an example of how to create lists:

<ul>
<li>This is the first item in a generic bulleted list.
<li>This is the second item.
</ul>


<ol type=I>
<li>This is the first item in an ordered list indexed with Roman numerals.
<li>This is the second item.
<li>This is the third item.
<li>This is the fourth item.
<li>This is the fifth item.
</ol>

The above code displays the following:

  1. This is the first item in a list indexed with Roman numerals.
  2. This is the second item.
  3. This is the third item.
  4. This is the fourth item.
  5. This is the fifth item.

Click here to go back to the table of contents.


Copyright © 1998 Webworks Team. All rights reserved. Email with questions or comments about this web site.