spacer
prevtopnext

home~web~articles~html3andns~summary

Summary

HTML 3.2 and Netscape 3.0


Here are all the usage recommendations included in this compound document. By avoiding these Netscape-specific tags this table will allow you to use NHTML like HTML 3.2.

The <TITLE> element
<TITLE> S Sc...</TITLE> - WRONG
<TITLE>Descriptive text here less than 64 char </TITLE> - RIGHT

The <BODY> element
<BODY BGCOLOR=XXXXX TEXT=XXXXX> - WRONG
<BODY BGCOLOR="YYYYYY"><BODY BGCOLOR="ZZZZZ"> ad infinitum -WAY WRONG
<BODY BACKGROUND="art/bg_paper.jpg" TEXT="#000000"...> - RIGHT
<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#ff0000" LINK="#0000ff"> - RIGHT

ALIGNment
<CENTER>Centering 101</CENTER> -WRONG
<P ALIGN=CENTER>Centering 101</P> - RIGHT

<CENTER><H2>Heading</H2></CENTER> - WRONG
<H2 ALIGN=CENTER>Heading</H2> - RIGHT

<CENTER><IMG SRC="/pics/blackbeard.jpg" WIDTH=200 HEIGHT=300 ALT="[Blackbeard JPEG]"></CENTER> - WRONG

<DIV ALIGN=CENTER><IMG SRC="/pics/blackbeard.jpg" WIDTH=200 HEIGHT=300 ALT="[Blackbeard JPEG]"></DIV> - RIGHT (or use a P ALIGN=CENTER)

The <IMG> element
<A HREF="/cgi-bin/imagemap/index.map"><IMG SRC="officemap.gif" ALIGN=ABSMIDDLE BORDER=3 VSPACE=5 HSPACE=10 ISMAP></A> - WRONG

<A HREF="/cgi-bin/imagemap/index.map"><IMG SRC="officemap.gif" WIDTH=250 HEIGHT=400 ALIGN=LEFT ISMAP ALT="Sensitive Office Map"> - RIGHT

<TABLE>
CAPTION
<TABLE>
<CAPTION><H2>Tables with H2, a no no</H2> - WRONG

<TABLE>
<CAPTION ALIGN=BOTTOM>Table with a correct caption, placed under the table, defaults to center</CAPTION> - RIGHT

CENTER
<CENTER>
<TABLE>
<TR><TD>Centers in Netscape<TD>Datagram
</TABLE>
</CENTER> - WRONG

<CENTER>
<TABLE ALIGN=CENTER>
<TR><TD>Hey, this really works.<TD>Data, Data, where are you Data?
</TABLE>
</CENTER> - RIGHT (works for Netscape 1.1 and HTML 3.0)

or

<DIV ALIGN=CENTER>
<TABLE ALIGN=CENTER>
<TR><TD>da, da, da, dooo<TD>Data, ohhh DATA
</TABLE>
</DIV> - RIGHT (works for Netscape 2.0 and HTML 3.0)*

or

<TABLE ALIGN=CENTER>
<TR><TD>HTML 3.0-only way<TD>Early 1996?
</TABLE> - RIGHT (works for HTML 3.0-compliant browsers only, Netscape 3.0?)

WIDTH
<TABLE WIDTH=400> or WIDTH=75% - WRONG (pixels supported but discouraged)
<TABLE WIDTH="75%"> - RIGHT

BORDER
<TABLE BORDER=5 CELLPADDING=10 CELLSPACING=5> - RIGHT

<TABLE BORDER=1 FRAME=hsides RULES=cols CELLPADDING=5 CELLSPACING=5> - HTML 3.0

BGCOLOR
<TABLE ALIGN=RIGHT BORDER=1 WIDTH=20%>
<CAPTION CENTER Valign=BOTTOM>Color Cells</CAPTION>
<TR><TD BGCOLOR=#bbffee>One Color</TD></TR>
<TR><TD BGCOLOR=#ffaacc>Another Color</TD></TR>
</TABLE> - WRONG

<TABLE ALIGN=RIGHT BORDER=1 WIDTH="20%">
<CAPTION CENTER ALIGN=BOTTOM>Color Cells</CAPTION>
<TR><TD>One Color</TD></TR>
<TR><TD>Same darned Color</TD></TR>
</TABLE> - RIGHT

Color Cells
One Color
Another Color

TR
<TABLE>
<TR ALIGN=CENTER> - RIGHT

<TABLE>
<TR ALIGN=CENTER VALIGN=TOP> - HTML 3.0

TD/TH
<TD WIDTH=50% NOWRAP>some data</TD> -WRONG
<TD COLSPAN=2 ALIGN=RIGHT VALIGN=TOP>some data</TD> - RIGHT

Aligning multiple cells
<TR ALIGN=CENTER> - RIGHT

<COL ALIGN=CENTER>
<TR ALIGN=CENTER> - HTML 3.0

TD Column Width
<TABLE>
<TR>
<TD WIDTH=60%>data, data, lots of data</TD>
<TD WIDTH=40%>data</TD>
</TR>
</TABLE> -WRONG

<TABLE>,
<TR>
<TD>Data, data, we got data</TD>
<TD>Second data cell</TD>
</TR>
</TABLE> - RIGHT

<TABLE COLS=3 WIDTH="80%">
<COL WIDTH=".3*">
<COL WIDTH=".3*">
<COL WIDTH=".1*"> - HTML 3.0

Lists
<UL TYPE=SQUARE>
<LI>One
<LI>Two
<LI>Buckle my shoe
</UL> - WRONG

<UL>
<LI>One
<LI>Two
<LI>Undo my shirt
</UL> - RIGHT

HR
<HR SIZE=5 NOSHADE WIDTH=80% ALIGN=CENTER> - WRONG
<HR> - RIGHT

FONT
<FONT SIZE=-1>Smaller text</FONT> - WRONG
<SMALL><SUP>Smaller, superscript text</SUP></SMALL> - RIGHT

BLINK
<BLINK>I'm blinking, help me!</BLINK> - Just plain WRONG

NOBR
<NOBR> - WRONG
&nbsp; - RIGHT

ISINDEX
PROMPT - RIGHT

BR
CLEAR=Left, right, all - RIGHT

nextprev

Comments/suggestions are welcome at aking@webreference.com



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider

 



Revised: August 17, 1996

URL: http://webreference.com/html3andns/summary.html