<P></P>

Creates a paragraph break


[HOME] [PAGE UP] [PREV PAGE] [NEXT PAGE]


Tag used to specify a paragraph break in the text. There is no specification for leading spaces or indentation. There is a suggestion that paragraphs might be preceded by a blank line.

        <html>
        <head>
        <title>Some Title</title>
        </head>
        <body>
            .
            .
==>>    <p>
            .
            .
        </body>
        </html>

If you are trying to create white space by skipping several lines, it seems that the browsers will ignore repetitions of the same tag, like <P>. However, if you alternate the <P> and the <BR> tags you can trick the browsers into giving you the lines you want. I'm sure the purists will be rolling their eyes at this revelation but then what the heck, we're just doing this for fun right?

HTML 3.0 Draft
The new specification calls for treating the paragraph element like other "container" elements. "Container" simply means that you have a starting tag and an ending tag and everything between the tags is affected by the tag. So this means that you would mark the end of the paragraph also. This is optional for now.
Attributes common to almost all of the block style tags include ALIGN, CLEAR and NOWRAP.
ALIGN
Used to specify the horizontal positioning of the associated element. The value can be left, center, right, and justify. Left puts the element flush with the left margin, right puts the element flush with the right margin, center centers the element between the margins and justify attempts to spread the element, if applicable, so that it reaches from left to right margin. If the element can't be justified then it puts the element flush with the left margin.
CLEAR
Used to specify the vertical positioning of a block element. This lets you start a block below a figure or table, or next to it if there is a certain amount of space for your text. You can specify left, right or all to indicate that you want the left margin, right margin or both margins clear before you start displaying your text.

Instead of clearing the margins you can also tell the browser that if there is a certain amount of space next to a table or figure then it can display your text. You do this by putting in an amount of space in "en" units or in pixels. You would put a value such as "50 en" for 50 "en" spaces or "130 pixels" for 130 pixels.

NOWRAP
Used to tell the browser to not do automatic line breaks. This means your text displays on one long line unless you put in explicit line breaks using the <BR> tag.
An example of these attributes in use is:
<P ALIGN=center CLEAR="50 pixels" NOWRAP>Paragraph of stuff.</P>
Attributes common to almost all of the tags permitted in the document body include ID, LANG and CLASS. You probably won't be using any of these tags for a while but I've included them so you know they are coming.
ID
A name to be used as a target for links or for naming particular elements in a style sheet. These take the place of the HTML 2.0 <A NAME="somename">Some Name</A> construct that defines internal document links.
LANG
An ISO standard language abbreviation that defines language specific elements to be used.
CLASS
Used to assign a class name to a tag.
An example of these attributes in use is:
<P ID="topicone" LANG="en-US" CLASS=section>Paragraph text and stuff.</P>

Netscape

Implements the ALIGN attribute with [center|left|right].

Microsoft IE

Nothing special.

Internationalization

Adds the DIR attribute.


[HOME] [PAGE UP] [PREV PAGE] [NEXT PAGE]


The Rusk Family . . . "the Legend Continues"

Michael T. Rusk
Comments to author: mrusk@radix.net

All contents copyright © 1996, 1997 Michael T. Rusk
All rights reserved.

Revised: December 03, 1997 10:51 -0500
URL: ./htmlgd/tagp.html