Additions To Existing Tags

<ISINDEX PROMPT="text">
ISINDEX indicates that a document is a searchable index. A small text window opens for the reader to put in a text string to be searched. The PROMPT tag has been added to the ISINDEX element so you can specify what message you want to appear before the text input field of the index.

<HR>
The HR element specifies that a horizontal rule of some sort be drawn across the page (the default is a shaded engraved line). Four new tags have been added to this element to allow you to describe how the horizontal rule should look:

<HR SIZE=number>
The SIZE tag lets you give an indication of how thick you wish the horizontal rule to be.

<HR WIDTH=number|percent>
The default horizontal rule is always the page width. The WIDTH tag allows you can specify an exact width in pixels, or a relative width measured in percent of document width.

<HR ALIGN=left|right|center>
Horizontal rules do not have to be the width of the page, so you can specify whether they should be pushed up against the left margin, the right margin, or centered in the page.

<HR NOSHADE>
Finally, for those times when you really want a solid bar, the NOSHADE tag lets you specify that you do not want any fancy shading of your horizontal rule.

<UL>
The basic bulleted list has a default progression of bullet types that changes as you move through indented levels. From a solid disc, to a circle to a square. A TYPE tag has been added to the UL element so no matter what your indent level you can specify whether you want as your bullet a:

TYPE=disc
TYPE=circle, or
TYPE=square
<OL>
The average ordered list counts 1, 2, 3, ... etc. A TYPE tag has been added to this element to allow you to specify whether the want their list items marked with:
TYPE=A capital letters
TYPE=a small letters
TYPE=I large roman numerals
TYPE=i small roman numerals
TYPE=1 default numbers
For lists that you wish to start at values other than 1, the new element START is available. START is always specified in the default numbers, and will be converted based on TYPE before display. Thus START=5 would display either an 'E', 'e', 'V', 'v', or '5' based on the TYPE tag.

<LI>
To give even more flexibility to lists, the TYPE tag has been added to the LI tag. You can now change the list type in the middle of a list, and for ordered lists the list count numbers. TYPE takes the value of UL or OL, depending on what type of list you are in. It changes the list type for that item and all subsequent items. For ordered lists, the VALUE element is also added so you can change the count for that list item and all subsequent items.

<IMG>
The IMG tag is probably the most extended tag. You can now modify the ALIGN= parameter with: left, right, top, texttop, middle, absmiddle, baseline, bottom, absbottom

ALIGN= left and right images are an entirely new type where any subsequent text will "wrap around" the image.

ALIGN=left will float the image down and over into the next available space in the left margin. Subsequent text will wrap around the right hand side of that image.

ALIGN=right aligns the image with the right margin, and the subsequent text wraps around the left.

ALIGN=top aligns the image with the top of the tallest item in the line.

ALIGN=texttop aligns itself with the top of the tallest text in the line (usually but not always the same as ALIGN=top).

ALIGN=middle aligns the baseline of the current line with the middle of the image.

ALIGN=absmiddle aligns the middle of the current line with the middle of the image.

ALIGN=baseline aligns the bottom of the image with the baseline of the current line.

ALIGN=bottom is identical to ALIGN=baseline.

ALIGN=absbottom aligns the bottom of the image with the bottom of the current line.
<IMG WIDTH=value HEIGHT=value>

The WIDTH and HEIGHT tags are added to IMG mainly to speed up display of the document. If you specifies these, the viewer of their document will not have to wait for the image to be loaded over the network and its size calculated.

<IMG BORDER=value>
This lets you control the thickness of the border around an image displayed. Warning: setting BORDER=0 on images that are also part of anchors may confuse your readers as they expect a colored border indicating that an image is an anchor.

<IMG VSPACE=value HSPACE=value>
For the floating images it is likely that you do not want them pressing up against the text wrapped around the image.

VSPACE controls the vertical space above and below the image
HSPACE controls the horizontal space to the left and right of the image.
<BR>
With the addition of floating images, the BR tag. has been expanded. BR still just inserts a line break, but a CLEAR element has been added, so that:

CLEAR=left breaks the line, and moves the text vertically down until it finds a left margin clear of floating images.
CLEAR=right does the same for the right margin, and
CLEAR=all moves the text down until it finds a place where both margins are clear of images.


[Back] Back to Netscape Extensions to HTML
[Up] Up to the Contents page