Skip to main content.

Web Based Programming Tutorials

Homepage | Forum - Join the forum to discuss anything related to programming! | Programming Resources

Teach Yourself Web Publishing with HTML 3.2 in 14 Days

Appendix C -- Cross-Browser Comparison of HTML

Appendix C



Cross-Browser Comparison of HTML


Table C.1 lists all the HTML 3.2 elements and attributes and indicates which browsers support them.


Table C.1. Comparison of HTML across three popular browsers.
Element
Attribute
Internet Explorer
Netscape Navigator
ncSA Mosaic
<!-- ...>  
*
*
*
<!DOCTYPE ...>  
*
*
*
<A ...>  
*
*
*
  ...HREF
*
*
*
 Mailto : ...TITLE
 
 
*
 ...NAME
*
*
*
 ...TITLE
*
*
*
 ...REL
*
*
*
 ...REV
*
*
*
 ...URN
*
*
*
 ...METHODS
*
*
*
 ...TARGET
 
*
 
<ADDRESS>  
*
*
*
<APPLET ...>  
 
*
 
 ...CODEBASE
 
*
 
 ...CODE
 
*
 
 ...ALT
 
*
 
 ...NAME
 
*
 
 ...WIDTH/HEIGHT
 
*
 
 ...ALIGN
 
*
 
 ...VSPACE/HSPACE
 
*
 
 ...PARAM NAME/VALUE
 
*
 
<B>  
*
*
*
<BASE ...>  
*
*
*
 ...HREF
*
*
*
 ...TARGET
 
*
 
<BASEFONT ...>  
*
*
 
 ...SIZE
*
*
 
  
 
v
 
  
(only visible when FONT SIZE=used too)
 
 
 ...FACE
*
 
 
<BGSOUND ...>  
*
 
*
  
 
 
(will spawn player for .mid files)
 ...LOOP
*
 
*
 ...DELAY
 
 
*
<BIG>  
*
*
 
<BLINK>  
 
*
 
<BLOCKQUOTE>  
*
*
*
<BODY ...>  
*
*
*
 ...BACKGROUND
*
*
*
 ...TEXT
*
*
*
  
 
 
(using color names is reliable)
 ...LINK
*
*
*
 ...VLINK
*
*
*
 ...ALINK  
*
 
 ...BGCOLOR
*
*
*
 ...BGPROPERTIES
*
 
 
 ...LEFTMARGIN
*
 
 
 ...TOPMARGIN
*
 
 
<BR>  
*
*
*
 ...CLEAR
*
*
 
<CAPTION>  
*
*
*
 ...ALIGN
*
*
*
  
(top, bottom, left, right, center)
(top, bottom)
(top, bottom)
 ...VALIGN
*
 
 
  
(top, bottom)
 
 
<CENTER>  
*
*
*
<CITE>  
*
*
*
<CODE>  
*
*
*
<COL>  
*
 
 
 ...SPAN
*
 
 
 ...ALIGN
*
 
 
<COLGROUP>  
*
 
 
 ...SPAN
*
 
 
 ...ALIGN
*
 
 
 ...VALIGN
*
 
 
<COMMENT>  
*
 
*
<DFN>  
*
 
 
<DIR>  
*
*
*
  
(no bullet)
 
 
<DIV>  
 
*
 
 ...ALIGN
 
*
 
  
 
(left, right, center)
 
<DL>  
*
*
*
<DT>  
*
*
*
<DD>  
*
*
*
 ...COMPACT
 
*
 
<DT>  
*
*
*
<EM>  
*
*
*
<EMBED ...>  
 
*
 
<FONT ...>  
*
*
 
 ...SIZE
*
*
 
 ...COLOR
*
*
 
 ...FACE
*
 
 
<FORM>  
*
*
*
<FRAME ...>   
*
 
 ...SRC
 
*
 
 ...NAME
 
*
 
 ...MARGINWIDTH
 
*
 
 ...MARGINHEIGHT
 
*
 
 ...SCROLLING
 
*
 
 ...NORESIZE
 
*
 
 ...FRAMEBORDER
*
 
 
 ...FRAMESPACING
*
 
 
<FRAMESET ...>  
*
*
 
 ...ROWS
*
*
 
 ...COLS
*
*
 
<H ALIGN= ...>  
*
*
*
  
(center only)
(right, left, center)
(right, left, center)
<H1>  
*
*
*
<H2>  
*
*
*
<H3>  
*
*
*
<H4>  
*
*
*
<H5>  
*
*
*
<H6>  
*
*
*
<HEAD>  
*
*
*
<HR ...>  
*
*
*
 ...SIZE
*
*
*
 ...WIDTH
*
*
*
 ...ALIGN
*
*
*
 ...NOSHADE
*
*
*
 ...COLOR
*
 
 
<HTML>  
*
*
*
<I>  
*
*
*
<IMG ...>  
*
*
*
 ...ALIGN
*
*
*
  
 
 
(top, middle, bottom only)
 ...ALT
*
*
*
 ...ISMAP
*
*
*
 ...SRC
*
*
*
 ...WIDTH
*
*
*
 ...HEIGHT
*
*
*
  
 
 
(image can't be distorted)
 ...BORDER
*
*
 
  
(only when image is a link)
 
 
 ...VSPACE
*
*
 
 ...HSPACE
*
*
 
 ...LOWSRC  
*
 
 ...USEMAP
*
*
*
 ...VRML
*
 
 
<input ...>  
*
*
*
 ...ALIGN
*
*
*
 ...chECKED
*
*
*
 ...MAXLENGTH
*
*
*
 ...NAME
*
*
*
 ...SIZE
*
*
*
 ...SRC
*
*
*
 ...TYPE
*
*
*
 ...VALUE
*
*
*
<ISINDEX ...>  
*
*
*
 ...PROMPT
*
*
 
<KBD>  
*
*
*
<LI>  
*
*
*
<LINK ...>  
*
*
*
<LISTING>  
*
*
*
  
(will translate special characters)
(renders 132 characters to the line and translates special
 
<MAP ...>  
*
*
*
 ...SHAPE
*
*
*
 ...COORDS
*
*
*
 ...AREA
*
*
*
<MARQUEE ...>  
*
 
 
 ...ALIGN
*
 
 
 ...BEHAVIOR
*
 
 
 ...BGCOLOR
*
 
 
 ...DIRECTION
*
 
 
 ...HEIGHT
*
 
 
 ...WIDTH
*
 
 
 ...HSPACE
*
 
 
 ...LOOP
*
 
 
 ...SCROLLAMOUNT
*
 
 
 ...SCROLLDELAY
*
 
 
 ...VSPACE
*
 
 
<MENU>  
*
*
*
  
(no bullet)
 
 
<META ...>  
*
*
*
 ...HTTP-EQUIV
*
*
*
 ...NAME
*
*
*
 ...CONTENT
*
*
*
<NEXTID ...>  
*
*
*
<NOBR>  
*
*
 
<NOFRAMES>  
*
*
 
<OBJECT>  
*
 
 
<PARAM>  
*
 
 
<OL ...>  
*
*
*
 ...TYPE
*
*
 
 ...START
*
*
 
 ...VALUE
*
*
 
<OPTION>  
*
*
*
<P>  
*
*
*
 ...ALIGN
*
*
*
  
(center only)
(left, right, center)
(left, right, center)
<PLAINTEXT>  
*
*
*
  
(allows closing element)
 
(allows closing element)
<PRE>  
*
*
*
<S>  
*
 
*
<SAMP>  
*
*
*
<SCRIPT ...>  
*
*
 
 ...LANGUAGE
*
*
 
 ...SRC
*
*
 
<SELECT>  
*
*
*
<SMALL>  
*
*
 
<SOUND ...>  
 
 
*
  
 
 
(.wav only)
 ...SRC
 
 
*
 ...DELAY
 
 
*
<STRIKE>  
*
*
*
<STRONG>  
*
*
*
<SUB>  
*
*
*
<SUP>  
*
*
*
<TABLE ...>  
*
*
*
 ...BORDER
*
*
*
 ...CELLSPACING
*
*
*
 ...CELLPADDING
*
*
*
 ...WIDTH
*
*
*
 ...HEIGHT
*
*
*
 ...ALIGN
*
*
 
 ...VALIGN
*
 
 
 ...BGCOLOR
*
 
 
 ...BORDERCOLOR
*
 
 
 ...BORDERCOLORLIGHT
*
 
 
 ...BORDERCOLORDARK
*
 
 
 ...BACKGROUND
*
 
 
 ...FRAME
*
 
 
 ...RULES
*
 
 
<TBODY>  
*
 
 
<TD ...>  
*
*
*
 ...ROWSPAN
*
*
*
...COLSPAN
*
*
*
 ...ALIGN
*
*
 
 ...VALIGN
*
*
*
 ...WIDTH
*
*
 
 ...HEIGHT
*
 
 
 ...NOWRAP
*
*
 
 ...BGCOLOR
*
 
 
 ...BORDERCOLOR
*
 
 
 ...BORDERCOLORLIGHT
*
 
 
 ...BORDERCOLORDARK
*
 
 
 ...BACKGROUND
*
 
 
<TEXTAREA ...>  
*
*
*
 ...NAME
*
*
*
 ...ROWS
*
*
*
 ...COLS
*
*
*
 ...WRAP  
*
 
<TFOOT>  
*
  
<TH ...>  
*
*
*
 ...ROWSPAN
*
*
*
 ...COLSPAN
*
*
*
 ...ALIGN
*
*
*
 ...VALIGN
*
*
*
 ...WIDTH
*
*
 
 ...HEIGHT
*
 
 
 ...NOWRAP
*
*
 
 ...BGCOLOR
*
 
 
 ...BORDERCOLOR
*
 
 
 ...BORDERCOLORLIGHT
*
 
 
 ...BORDERCOLORDARK
*
 
 
 ...BACKGROUND
*
 
 
<THEAD>  
*
 
 
<TITLE>  
*
*
*
<TR ...>  
*
*
*
 ...ALIGN
*
*
*
 ...VALIGN
*
*
*
 ...BGCOLOR
*
 
 
 ...BORDERCOLOR
*
 
 
 ...BORDERCOLORLIGHT
*
 
 
 ...BORDERCOLORDARK
*
 
 
<TT>  
*
*
*
<U>  
*
 
*
<UL>  
*
*
*
<VAR>  
*
*
*
<WBR>  
*
*
 
<XMP>  
*
*
*
  
 
(will translate special characters)