I hate filling out forms. <P>So sometimes I don't.
// Flash output:
I hate filling out forms. So sometimes I don't.
// Web browser output:
I hate filling out forms.
So sometimes I don't.
Closing </P> tags are required by Flash in
order for line breaks to be added. For example:
<P> I hate filling out forms.</P> So sometimes I don't.
Furthermore, in Flash, <P> causes a single
line break, exactly like <BR>, whereas in
web browsers, <P> traditionally causes a
double line break. Consider the following:
<P>This is line one.</P><P>This is line two.</P>
In Flash, that code would be rendered with no gap between the lines,
as in:
This is line one.
This is line two.
In a web browser, the code would be rendered with a gap between the
lines, as in:
This is line one.
This is line two.
Because Flash's <P> tag behavior
differs from web browsers, we often use the
<BR> tag instead. However, the
ALIGN attribute of the
<P> tag is still useful to center,
right-justify, or left-justify text, as follows:
<P ALIGN="CENTER">Centered text</P>
<P ALIGN="RIGHT">Right-justified text</P>
<P ALIGN="LEFT">Left-justified text</P>