The official reference for legal HTML is hosted on:

http://www.w3.org/

Netscape is famous for not adhering to strict HTML, though.

If you want to see what your page looks like on different browsers, try

www.anybrowser.com

It also checks the compatibility and validity of your html.

Best of luck,
Ann Brandon