Align Text
Align Left
DescriptionThis tag will align your text to the left of the screen. The starting tag is <P ALIGN="LEFT"> and the closing tag is </P>. The text between these tags is what is aligned to the left. This tag also causes a double space (paragraph) at the end of the text.
Code
<P ALIGN="LEFT">

Hello World!

</P>
Output

Hello World!

Practice
Align Right
DescriptionThis tag will align your text to the right of the screen. The starting tag is <P ALIGN="RIGHT"> and the closing tag is </P>. The text between these tags is what is aligned to the right. This tag also causes a double space (paragraph) at the end of the text.
Code
<P ALIGN="RIGHT">

Hello World!

</P>
Output

Hello World!

Practice
Align Center
DescriptionThis tag will align your text to the center of the screen. The starting tag is <P ALIGN="CENTER"> and the closing tag is </P>. The text between these tags is what is aligned to the center. This tag also causes a double space (paragraph) at the end of the text.
Code
<P ALIGN="CENTER">

Hello World!

</P>
Output

Hello World!

Practice
Center
DescriptionThis tag does the same thing as the previous tag but it is shorter, and there is no added paragraph space at the end of the text. The starting tag is <CENTER> and the closing tag is </CENTER>. The text between these tags is what is aligned to the center.
Code
<CENTER>

Hello World!

</CENTER>
Output
Hello World!
Practice
Advertisements