Formatting Tags
BR
(line break)
The BR tag does not require a closing tag.
Syntax
<BR
CLEAR="ALL"|"LEFT"|"RIGHT"
>
prevents text from wrapping around one or both sides of an element such as an image. Navigator 1.1
Example
The following example inserts a line break in a speech from Hamlet:
<P>Hamlet's famous speech begins: <BLOCKQUOTE><I>To be, or not to be?<BR> That is the question</I></BLOCKQUOTE>
CENTER
(centered content)
The value of an ALIGN attribute overrides the <CENTER> tag.
Syntax
Example
<CENTER>
<H1>Netscape's Mascot Mozilla</H1>
<IMG SRC="/images/mozilla.gif>
</CENTER>
HR
(horizontal rule)
Syntax
<HR
ALIGN="CENTER"|"LEFT"|"RIGHT"
NOSHADE
SIZE="thickness"
WIDTH="width"
>
specifies the horizontal alignment of lines that do not span the width of the page. Navigator 1.1
rproduces a solid black line that has no shading. Navigator 1.1
indicates the thickness of the line, in pixels. The default is 2 pixels. Navigator 1.1
Example
The following example draws a horizontal rule between two sentences.
<P>This text appears above a thick, unshaded, centered horizontal rule.
<HR NOSHADE ALIGN="CENTER" WIDTH="50%" SIZE="8">
<P>This text appears below the horizontal rule.
MULTICOL
(multiple column formatting)
Syntax
<MULTICOL
COLS="columns"
GUTTER="gutterWidth"
WIDTH="colWidth"
>
...
</MULTICOL>
The COLS attribute is required.
Example
The following example uses the MULTICOL tag to display three columns of text.
<MULTICOL COLS="3" WIDTH="520" >
<P>
HyperText Markup Language (HTML) is a set of tags and attributes that mark how text is organized and
displayed by web browsers.
<P>
HTML documents are files containing text and tags
written for the HyperText Transport Protocol
(HTTP)--the protocol used throughout the World Wide Web.
<P>
HTML tags define both the structure of a web page and
the way the marked text displays in a browser such as
Netscape Navigator. Tags mark the start and the end of
text. For example, you can use the H1 tag to mark text
as a first-level heading. When a web browser such as
Netscape Navigator displays that text, it appears in a
large font,
<P>
HTML documents may have different appearances on
different browsers. Even if all of your readers use
Netscape Navigator, they all might not see your
HTML page in the same way because they can configure
Netscape Navigator to use different fonts and to
override your color settings.
</P>
</MULTICOL>
The file multicol.html shows this example in action in a separate window.
NOBR
(no break)
Syntax
Example
The following example uses the NOBR tag to display a long line of text.
<NOBR>
Line breaks are not inserted into the text contained within a NOBR
block. This tag should be used with care, since it can create
<i>really</i> long lines of text.
</NOBR>
SPACER
(extra space)
Syntax
applies only when the extra space is a block. It specifies the alignment of the spacing rectangle in relation to the surrounding text. If you do not specify a value for ALIGN, Navigator uses “BOTTOM” as the default. The values are the same as the values of ALIGN for the IMG tag.
Example
<P> This wo<SPACER TYPE=HORIZONTAL SIZE=20>rd has a small gap in it. <SPACER TYPE=VERTICAL SIZE=40>This line is 40 pixels below the one above. <P>BLOCK behaves almost exactly like an <SPACER TYPE=BLOCK WIDTH=100 HEIGHT=80 ALIGN-MIDDLE>invisible image. The Navigator ignores any SIZE attribute and instead uses the HEIGHT, WIDTH, and ALIGN attributes to define a spacing rectangle.</P>
SPAN
(span of content)
Syntax
<SPAN CLASS=
"styleClass"
ID="namedPlaceOrStyle"
STYLE="style"
</SPAN>
Example
<P>Here is some normal paragraph text. It looks OK,
but it would lookmuch better if it were
<SPAN STYLE="color:blue; font-weight:bold; font-style:italic">
in bright, bold, italic blue. </SPAN>
WBR
(word break)
The WBR tag does not require a closing tag.
Syntax
Example
<NOBR>
Line breaks are not ordinarily inserted into the text contained within
a NOBR block, which can produce some awkwardly long lines.
<WBR>
If the text contains a WBR tag, however, it marks a location where the
insertion of a line break is permitted.
</NOBR>
