• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Working with Text and Links > Horizontally Aligning Text

Horizontally Aligning Text

In HTML, the CENTER tag and the ALIGN attribute are used to horizontally align text and other elements. In HTML 4.01, the CENTER tag is deprecated and all uses of the ALIGN attribute are also deprecated, except for use within tables.

In CSS, the text-align property is used to horizontally align or justify text within block elements. The values for this property include left, right, center, and justify.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint