Answers Search Help
Boston University home page
HTML: Introduction
 
 
    Components
 
 
 
 
 
 
    Syntax
 
 
 
 
 
    Essential Tags
 
 
 
 
 
 
 
 
    HTML Headings
 
 
    Text
 
 
 
 
    Layout
 
 
 
 
 
 
 
    Links & Images
 
 
 
 
    Publishing
 
 
    Also See
 
 

Paragraphs

Use the <p> tag to insert paragraph breaks. This tag ends the current line, skips a line, and moves to the next line. Strict HTML dictates that the paragraph tag be used with opening and closing tags. However, some HTML editing software and most browsers recognize a singular tag. If you are using right text justification, you must use opening and closing tags with the text justification specification.

<p> - opening tag
</p> - closing tag

<p align="right"> - opening tag with alignment option
</p> - closing tag

CODE EXAMPLE:

<p>four calling birds</p><p>three French hens</p><p>two turtle doves</p><p align="right">partridge nesting in a fruit tree.</p>

RESULT:

four calling birds

three French hens

two turtle doves

partridge nesting in a fruit tree.

 

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007