Verify Your HTML Code

Dec 14, 1999

Verifying the HTML code that makes up a Web page requires more than viewing the page in your browser. There are several different browsers, each with several versions, and pages don't always work the same in each. HTML errors can also open up security holes in your pages, exposing your site (and your customers) to trouble. Use this checklist to ensure that your HTML code meets all standards and produces your Web pages the way you want them.

Consistency and organization improve readability and give your site a professional look.Here are two strategies for promoting consistency and organization:

Netscape
Internet Explorer
Internet Explorer
Netscape
Netscape
Internet Explorer
Mosaic
  • Avoid fonts that may not be installed on your site visitor's computer

    Not everyone has a large font collection installed, especially on older computers. Avoid excluding these visitors from experiencing your site the way you intended. Take a look at this text:

    Unless you have the "Elephant" font installed, you're looking at your default font.

    If you set your code to display an exotic font like "Elephant" but your visitors do not have that font installed, they'll see their browser's default font. For greatest safety, never assume that more than the basic system fonts are installed on your visitors' computers.

  • Think beyond (your) box

    Remember that sometimes the same font can have different names on different platforms. The most common example, used above, is the "Arial" font for Microsoft Windows, which matches the "Helvetica" font used on Apple Macintosh computers.



  • Use HTML verification tools: HTML Check

    Perhaps the best judge of computer code (like HTML) is a computer. HTML Check can help verify your code, examining a single page or your entire site. HTML Check will not only alert you to code errors in your pages, but also to missing text descriptions for your images, and remind you to choose a title for your page, among other neat features. After entering the URL of the page or site you'd like inspected, HTML Check prepares a detailed report and alerts you via e-mail when the report is ready (usually within a few minutes for a single page, sometimes several hours for a very large site).

    Copyright 1995-1999 Pinnacle WebWorkz Inc. All rights reserved. Do not duplicate or redistribute in any form.

logo