Language References
Specifies the horizontal position of elements relative to the document.
Inline |
<element align = left | center | right... > |
Script |
object.align = left | center | right |
left |
Aligns to the left edge. |
center |
Aligns to the center. |
right |
Aligns to the right edge. |
The property is read/write with a default value of left.
This attribute has been deprecated in favor of CSS stylesheets.
<table width="70%" border align="center">
<tr><td>Cell 1</td><td>Cell 2</td></tr>
<tr><td>Cell 3</td><td>Cell 4</td></tr>
<tr><td>Cell 5</td><td>Cell 6</td></tr>
</table>
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
Cell 5 | Cell 6 |
APPLET CAPTION COL COLGROUP DIV HN HR IFRAME IMG LEGEND TABLE TBODY TD TFOOT TH THEAD TR