Read at your own risk
2011 October 1/10:32 PM
This document dates from the early web period, and is kept for archival purposes only. It is no longer updated, and contains much that is apocryphal, or at least wildly inaccurate.There are two ways of centering things in HTML. The “correct” way is to use the ALIGN=CENTER addition to the paragraph-level tag. For example, if you’re centering a level 2 heading, use <H2 ALIGN=CENTER>. Both Netscape and Internet Explorer understand this enhancement to HTML.
Netscape doesn’t handle the ALIGN addition correctly on all features, however. It doesn’t, for example, center a table that’s within a centered paragraph. (Others do.) For that, you’ll need to use <CENTER>, at least until Netscape fixes their browser and the new browser penetrates.
(Outside of HTML, the correct way today to center items is with style sheets.)