Introduction
Account Policies
Problem Solving
Instructor Help
General help by subject
Hypertext and the web
Remote access
Contact NWE Help
Main help page
NWE Help: Web: Authoring: HTML: Divisions
NWE Home :: Help :: Web :: Authoring :: HTML
You can use the following tags to separate your document into sections. We have created a document with examples of tags in action.
Note that all these tags except <HR> (horizontal rule) and <BR> (line break) are container tags.
- <BR> -- Line break
- Starts a new line of text. This is not a container tag; it doesn't need a </BR> tag.
- <P> </P> -- Paragraph
- Starts a new line with space above it. By default,
alignment is flush left. This tag works as a container or
non-container tag. For readable code, put these tags before
and after every paragraph. Of course, use a <P>
to start a new paragraph and a </p> at the end.
An ALIGN attribute will specify the horizontal alignment of a paragraph tag:
<P ALIGN=CENTER> This will be a centered paragraph. </P>
<P ALIGN=RIGHT> This will be a flush right paragraph. </P> - <CENTER> </CENTER> -- Center
- Centers text or images.
- <BLOCKQUOTE> </BLOCKQUOTE> -- Indented blockquote
- Prints text with an indent on each side. Also starts a new line with space above it.
- <PRE> </PRE> -- Preformatted text
- Prints text in a monospaced font, exactly as typed in a text editor, preserving all spaces and line breaks. Avoid using other tags inside preformatted text tags.
- <HR> -- Horizontal rule
- Renders a separating horizontal line. This is not a container tag; it doesn't need a </HR> tag. You can make the line thick with a HEIGHT (in pixels) attribute, or control width with a WIDTH (in pixels or percentage) attribute.
