Back Main GuestBook Contact Music (JS) Appendix

<P></P> - Paragraphs

This tag indicates paragraph text, such as what I am writing now. It is the most common type of text. The tags must include all the text that will be presented as this type of text whether or not it constitutes a paragraph.

The tag should be closed before a different type of text is entered (such as a heading or a list) by typing </P>.

Attributes for <P>

  %coreattrs %i18n %events

Presentational Attributes

D align= [CI]
  • "left"
Specifies left alignment.
  • "center"
Specifies centered text.
  • "right"
Specifies right alignment.
  • "justify"
Specifies justified text. If unsupported, reverts to default.
This attribute controls text alignment. The default value is inherited; otherwise, it is left for left-to-right paragraphs and right for right-to-left paragraphs.

Here is an example of paragraph text:

Among the disadvantages of HTML 3.2 was you couldn't indent text. Complicating the problem was the fact that some browsers didn't support the use of the horizontal tab escape code. W3C, the organization that sets HTML standards, decided to introduce a new concept to HTML 4.0--style sheets--to keep with the original purpose of HTML. They also created a style sheet language called CSS (Cascading Style Sheets). One of the things they added to CSS was the ability to indent text. Want to try? Put style="text-indent: 3em" in your paragraph tag and see what happens when you view it in Netscape 4+ or MSIE 3+.

Home


Here is the code for the sample above:

<P align=right>Among the disadvantages of HTML 3.2 was you couldn't indent text. Complicating the problem was the fact that some browsers didn't support the use of the horizontal tab escape code. W3C, the organization that sets HTML standards, decided to introduce a new concept to HTML 4.0--style sheets--to keep with the original purpose of HTML. They also created a style sheet language called CSS (Cascading Style Sheets). One of the things they added to CSS was the ability to indent text. Want to try? Put style="text-indent: 3em" in your paragraph tag and see what happens when you view it in Netscape 4 or MSIE 3, 4, or 5.</P>
<P align=center><A href="../../contents.html">Home</A></P>