Browser Quirks and HTML Programming Tips


  1. Netscape requires anchored GIF's to all be on one line of coding, thus:
    <a href="gohere.htm"><img src="image.gif" alt="[GIF]"></a>
    Otherwise, it will put a little mark on the GIF to the right, or if the image follows another image, on the left of the GIF.
  2. Internet Explorer requires a non-breaking space (&nbsp;) between GIF's that are supposed to be separated by white space; a simple space will not do.
  3. Mosaic 3.0 displays a non-breaking space as an 'a' with an acute accent for teletype text. To correct this, change the font as follows:
    Choose: [View] [Options] [Preferences] [Fonts] [Default] [Teletype Font]
    Then change the font from 'Terminal' to 'Courier New'
  4. Some versions of Netscape and Internet Explorer have trouble printing white text. Use a color="#feffff" subcommand instead of color="white" or color="#ffffff" in a font command.


  1. To be viewed by all browsers, use 'strong' tags instead of 'bold' and 'emphatic' tags instead of 'italic'
  2. On pages which have a clickable GIF as a main item, use both ISMAP and USEMAP
  3. Use alternate text on all images for text browsers
  4. Use the Any-Browser Table format to make tables readable in any browser; Mosaic 3.0 users see Quirk 3 above
  5. To add in-line sound to a page, use the following:
    <sound src="welcome.wav">
    <embed src="welcome.wav" volume=100% autostart=true hidden=true>

    The sound tag is recognized by Mosaic; the embed tag by Netscape and Internet Explorer.

Bruce Terry's Home Page
Bruce Terry's Home Page hosted at
Last updated on February 8, 2003
Page maintained by