SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Oct 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Validation Problems

    Hi. I have a site http://lifeguard-chairs.com/ which is actually a shopping cart. When I try to validate it, I get a bunch of errors, but I think I might have the wrong
    (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">)
    Which one will I be wanting to do and since I dont know squat about validating, can someone give me some tips?
    Thanks
    Daniel

  2. #2
    SitePoint Member
    Join Date
    Oct 2007
    Location
    Aberdeen, Scotland
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i only had a brief glance at your source code but immediately noticed that the body tag was in there twice....my best advice is to download the html validator plugin for firefox and start at the top with error 1 and work through until all errors (18 i think) are resolved....

  3. #3
    SitePoint Wizard drhowarddrfine's Avatar
    Join Date
    Aug 2005
    Posts
    3,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is the doctype you should be using:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

  4. #4
    SitePoint Addict
    Join Date
    Oct 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since I dont understand the validation very well, can someone look at it and tell me what to do? It is telling me the errors, but not how to fix it.

    http://validator.w3.org/check?uri=ht...Inline&group=0

    I appreciate it.
    Daniel


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •