[an error occurred while processing this directive]
Controlling Text Spacing

This page is part of the WebCom Web Publishing Guide. It explains the use of the paragraph and line break tags in an HTML document.


Overview

HTML leaves the details of how to display a document (spacing, font selection and size, etc.) up to the program viewing the document. Whitespace (such as tabs, spaces, and carriage returns or linefeeds) is ignored. Therefore, specific tags marking paragraph and line breaks must be inserted into HTML documents.


Paragraph Tags

<P>
This is an example.
</P>

The <P> tag starts a paragraph, and the </P> tag ends it. These tags create a space between any images or text preceding the enclosed text (some browsers also create a space after the closing paragraph tag).


Line Break Tag

This is<BR>
an example.

The line break tag causes any text following it to begin on the following line.

[an error occurred while processing this directive]