HTML Paragraph Tag
The <P> </P>tag:
- This tag helps with forming the typical paragraph spacing, not just a carriage return.
- Any number of sentences can exist between the tags
- Browsers are smart enough if the starting or ending tag is omitted
- Has one key attribute, ALIGN=left|center|right|justify
Example:
This paragraph is a group of sentences that has the alignment set to left.
The alignment will continue until the alignment is redefined.
This paragraph is a group of sentences that has the alignment set to center.
The alignment will continue until the alignment is redefined.
This paragraph is a group of sentences that has the alignment set to right.
The alignment will continue until the alignment is redefined.
This paragraph is a group of sentences that has the alignment set to justify.
The alignment will continue until the alignment is redefined.
Example Source:
<P ALIGN="left">This paragraph is a group of sentences that has the alignment set to <B>left</B>.
The alignment will continue until the alignment is redefined.</P>
<P ALIGN="center">This paragraph is a group of sentences that has the alignment set to <B>center</B>.
The alignment will continue until the alignment is redefined.</P>
<P ALIGN="right">This paragraph is a group of sentences that has the alignment set to <B>right</B>.
The alignment will continue until the alignment is redefined.</P>
<P ALIGN="justify">This paragraph is a group of sentences that has the alignment set to <B>justify</B>.
The alignment will continue until the alignment is redefined.</P>
previous slide |
next slide
Return to Beginning of Presentation
Return to Software Development Library