1. Home
  2. Computing & Technology
  3. Web Design / HTML

XHTML Attributes - align

By , About.com Guide

align:
Defines the vertical or horizontal alignment of various multimedia elements
Used with Elements:
Content:

align="___":

  • bottom - the bottom of the object should be aligned with the current baseline (default)
  • left - the object is aligned along the left margin - with following objects arrayed to the right
  • middle - the center of the object should be aligned with the current baseline
  • right - the object is aligned along the right margin - with following objects arrayed to the left
  • top - the top of the object should be aligned with the current baseline
Default:
Not required
Deprecated in XHTML 1.0:
Yes
DTD:
XHTML 1.0 Loose
Other Align Attributes:
Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

©2009 About.com, a part of The New York Times Company.

All rights reserved.