![]() | Text Structure |
|
<NOBR>...</NOBR>
Stands for 'No BReak'. Use it if you want the text inside the tag , for example a
telephone number, to appears on the same line and not be wrapped. Don't forget to
end with </NOBR>.
<WBR>
Stands for 'word break'. Starts a new line if the browser need to. Use it, for example,
inside a long word.
<P [ALIGN="left|right|center|justify"]>...[</P>]
Stands for 'paragraph'. Use it to start a new paragraph. Use ALIGN to align the following
text. Justify makes straight margins, but is only supported in Internet Explorer
and later versions of Netscape Navigator. More than one P-tag without any other text
or tag is useless. To insert more space, use many BR-tags, a transparent picture,
a TABLE, use the SPACER-tag, etc. <P> can optionally end with </P>. (IE NS4)
<CENTER>...</CENTER>
Use it to center text and pictures between the tags. Differently from the P-tag, this
will also center tables in all browsers.
<DIV ALIGN="left|center|right|justify">...</DIV>
Aligns text, pictures and other contents together. As with paragraphs, justified margins
does not work in Netscape Navigator prior to version 4.0. (IE NS4)
Rulers
<HR [...]>
Stands for 'horizontal rule'. Inserts a thin line. The following tags can be used:
<[SIZE="n "]
Sets the height of the line in pixels. Default is 2.
<[WIDTH="n |n %"]
Sets the width of the line, either in pixels or in percent. Default is 100%.
<[ALIGN="left|right|center"]
Sets the align of the line, default is center. Only useful if the WIDTH-property is
used.
<[NOSHADE]
Removes the 3D-look from the line.
<[COLOR="color "]
Defines the color of the line. IE
Columns
<MULTICOL COLS="n " [GUTTER="n "] [WIDTH="n "]>...</MULTICOL>
This is a Netscape extension, added in Netscape 3.0. The text within this tag will
show up in columns. COLS is the number of columns, GUTTER the space between the columns
in pixels, usually 10, and WIDTH the width of the columns in pixels. All columns
have the same width. NS3
Spacer
<SPACER TYPE="horizontal|vertical|block" [SIZE="n "] [HEIGHT="n |n %" WIDTH="n |n %"
[ALIGN="left|right"]]>
Inserts an empty space. TYPE is the type of space and SIZE is the height or width,
not used with blocks. When using blocks, the HEIGHT, WIDTH and ALIGN properties can
be used, in the same way as in the IMG-tag. NS3