Home :: Learning HTML :: Block Level :: Paragraphs
Most of your text will be in Paragraphs. Text in a paragraph is usually rendered
with a blank line before and after it. Paragraphs start with <P>
and end with </P>. Like Headings, Paragraphs can take the attribute
ALIGN, with values of LEFT, CENTER and RIGHT.
<P ALIGN="RIGHT">Here's a Paragraph.</P>
renders as:
Here's a Paragraph.
Multiple spaces, tabs and returns in HTML are all treated as one space. Therefore,
if you'd like some text to start on a new line, but still be a part of the block level
element that it's in, use the line break element, BR. For example:
<P>I'd like this line broken<BR> after the word "broken".</P>
is rendered as:
I'd
like this
line broken
after the
word "broken".
Notice that there is no </BR> because it is an "empty element."
Previous: Headings
Next: Preformatted Text
Home:: Learning HTML :: Block Level :: Paragraphs
Home |
Policies |
HTML |
FAQ
Publishing |
Booklet |
Tools |
Links