Alignment Exercise

Left aligned text (This is the default.)

Left aligned text (Left alignment now indicated.)

Centered text

Right aligned text

Justified text - Filler text has been added in order to display the effect. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill.

Left aligned text - Filler text has been added in order to display the effect. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill. Filler text has been added. Now it will fill.

Indented text This text has been indented using an in-line Cascading Style Sheet. The value, 1em, specifies the amount of the indent. One em is a relative value. It is equivalent to the height of the font. Replace 1 with other values to view the different effects. Note that just the first line is indented. Subsequent lines are not. This text has been indented. Note that just the first line is indented. Subsequent lines are not. This text has been indented. Note that just the first line is indented. Subsequent lines are not. This text has been indented. Note that just the first line is indented. Subsequent lines are not.

Indented text This text has been indented 1.5 em

Indented text This text has been indented 2 em

Indented text This text has been indented 3 em