WEB WML: School me on Doctypes

Discussion in 'OT Technology' started by drpepper, Mar 25, 2009.

  1. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    My shit isnt validating due to <br /> breaks :ugh:

    I get 12 errors, some having to do with Javascript.
    Whats the best doctype for simple a site with html/css/php/javascript?
     
    Last edited: Mar 25, 2009
  2. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
  3. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,918
    Likes Received:
    10
    Location:
    Los Angeles
    Read the errors on w3.org. :o They are fairly accurate. I see a number of those that can be fixed with proper closing tags and cleaning up spaces.
     
  4. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    changed it to transitional and fixed those errors right now, it now validates :o
    thanks brotato
     

Share This Page