You are using a previous version of Active Jump.

Go To Current Version of This Page

Active Jump Logo


Information
The Basics
Text
Pictures
Spacing
Colors
Links
Alignment
Lists/Bullets
Tables
Frames
Multimedia
Forms
ISO Characters
Meta Tags
Contact Us


Email Support
Email Contact

Divider

Align Text
Introduction
Being able to align your text, can really help your organize and space out your site well, so it's easy to read for your visitors. In this section, you will learn how to align your text in a variety of different ways.
Align Left
This 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.

index.html - Notepad
....<BODY>

<P ALIGN="LEFT">

Hello World!

</P>

</BODY>....

My Homepage - Microsoft Internet Explorer

Hello World!



Align Right
This 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.

index.html - Notepad
....<BODY>

<P ALIGN="RIGHT">

Hello World!

</P>

</BODY>....

My Homepage - Microsoft Internet Explorer

Hello World!



Align Center
This 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.

index.html - Notepad
....<BODY>

<P ALIGN="CENTER">

Hello World!

</P>

</BODY>....

My Homepage - Microsoft Internet Explorer

Hello World!



Center
This 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.

index.html - Notepad
....<BODY>

<CENTER>

Hello World!

</CENTER>

</BODY>....

My Homepage - Microsoft Internet Explorer

Hello World!



Test Your HTML
Printer Friendly Version


Jonathan David VerLee
webmaster@activejump.com


White