HTML versions

HTML 2.0 - basic tags, supported by all browsers.
HTML 3.2- features tables, divisions, backgrounds, color. Supported by every browser in common use at this time.
HTML 4.0 - Cascading Style Sheets, Dynamic HTML, and framesets. Supported by most but not all browsers.
XHTML 1.0 - enhancement to HTML 4.0 that makes it more uniform and compatible with XML


Most are working with HTML 4.0 at some level. Being cutting edge may NOT be the best course. The more advanced version of HTML used the higher percentage of viewers who will not be able to view some portion of the web pages.

Three levels of HTML 4.0 operation

HTML 4.0 or XHTML 1.0 Transitional - conservative Web developer. Supports as many browsers as possible.
HTML 4.0 or XHTML 1.0 Frameset - middle-of-road approach. Supports frames/framesets. A noticeable percentage of browsers not support all features.
HTML 4.0 or XHTML 1.0 Strict - strict use of HTML 4.0/XHTML 1.0 specifications, dropping older HTML version tags in favor of Cascading Style Sheet methods of document presentation.

Web publishing is much the same as print publishing. What the reader/viewer sees is a reflection of the creator and the creator's work. First impressions are lasting, which is why the appearance of a Web site is so important.

Some Do's and Don'ts of designing Web pages: Tips on using links: Tips on using images: Sign your work:
Every page should contain some information as to creator and site.
This information can be on a separate page and a link provided on each page.

Web pages do not have to be written completely from scratch. There are many useful HTML generators, editors, and converters. Understanding how HTML works and what it should look like is necessary even when using these, for proofreading and maintenance purposes. Yahoo maintains a listing of editors.

You can check to make sure you have used proper HTML code by running an HTML validator. A validator does not check to see how presentable a page is. It only checks to make sure all tags are in proper format and usage. Many HTML editors provide this service. There are standalone versions such as CSE 3310 (http://www.htmlvalidator.com/) HTML Tidy (http://www.w3.org/People/Raggett/tidy/). The W3C Validator (http://validator.w3.org/) not only checks for standards-compliant code but also checks to see if the pages conform to XHTML 1.0 standards also.
However, to validate the code, the DOCTYPE tag must be used. The W3C Validator help file (http://validator.w3.org/docs/help.html#faq-doctype) explains:

One should place a DOCTYPE declaration as the very first thing in an HTML document. For example:


      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
      <html>
        <head>

          <title>Title</title>
        </head>

        <body>
          <!-- ... body of document ... -->
        </body>

      </html>
    

For XML documents, you may also wish to include an "XML Declaration" even before the DOCTYPE Declaration, but this is not well supported in older browsers. More information about this can be found in the XHTML 1.0 Recommendation.

The W3C QA Activity maintains a List of Valid Doctypes that you can choose from, and the WDG maintains a document on "Choosing a DOCTYPE".


Going Online

Return to main page