February 2006
Beginner
416 pages
11h 35m
English
Alignment refers to the
horizontal placement of the paragraph. You can specify alignment in a style by using
the text-align attribute. Alignment can be applied only to
block-level elements, such as paragraphs, list items, headings, and so on. (A
block-level element is
one that occupies a complete paragraph or more.) The default alignment setting is
left; the other choices are center, right, and justify.

Notice that justified text aligns all lines of the paragraph, except the last one, at both the right and left. The last line of a justified paragraph is always left-aligned. Justified text can sometimes ...
Read now
Unlock full access