Basic HTML Styles
To start with there is the Normal paragraph style which is named
P in HTML.
This is a Heading 1 style named H1 in HTML
This is a Heading 2 style named H2 in HTML
This is a Heading 3 style named H3 in HTML
This is a Heading 4 style named H4 in HTML
This is a Heading 5 style named H5 in HTML
The style that can be used to separate parts of a document is
the Horizontal Rule called HR in HTML. It looks like this:
Lists are handled by using the UL style for unordered lists and the OL style for ordered lists.
The UL style:
- Item one
- Item two
- Item three
The OL style:
- Item one
- Item two
- Item three
All modern HTML browsers also support a small set of character
formatting styles. The most common are the following:
The Emphasis style called EM in HTML. It allows you to apply an
italic style to characters
The Strong style called STRONG in HTML. It allows you to apply
a bold style to characters
The Underline style called U in HTML. It allows you to apply an
underline style to characters.
The StrikeThrough style call STRIKE in HTML. It allows you to
apply a strike through to characters.
|