Name

ALIGN — NN all IE all HTML 3.2

Synopsis

ALIGN=”where"

Optional

Determines how the paragraph text is justified within the available width of the next outermost container (usually the document BODY).

The ALIGN attribute is deprecated in HTML 4.0 in favor of the style sheet attribute.

Example

<P ALIGN="center">...</P>

Value

Text alignment values are center | left | right.

Default

left

Object Model Reference

IE

[window.]document.all.elementID.align

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.