DOCTYPE: wtf?

Out of context: Reply #7

  • Started
  • Last post
  • 15 Responses
  • UndoUndo0

    Document Type Decleration - your telling the browser(client) what sort of document your giving it and to what standard, it might be RSS(XML), HTML, XML, etc

    The point of validating is being assured the browser/client will parse(read) yr site how you intended. If it doesnt validate or the doctype has to be removed - then this usually means that the way you have written yr code doesnt match the 'type' of document you told the browser it was through the doc type.

    http://www.w3c.org and search for doc types

    like someone siad earlier dont worry too much about it and use a 'loose' version

View thread