Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] -//W3C//DTD XHTML 1.0 Transitional//EN vs -//W3C//DTD HTML 4.01//EN

Expand Messages
  • Nate Koechley
    Here ya go: http://tech.groups.yahoo.com/group/ydn-javascript/message/26743 Thanks, Nate
    Message 1 of 2 , Oct 29, 2008
    • 0 Attachment
      Here ya go:


      On Oct 29, 2008, at 9:03 AM, Brendan Vogt wrote:


      When I create a new page in Visual Studio  is automatically adds:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      YUI says I must use:

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

      I have a couple of questions:

      • What is the difference between -//W3C//DTD XHTML 1.0 Transitional//EN and -//W3C//DTD HTML 4.01//EN?
      • Can strict.dtd be used with both?
      • Do I have to use strict.dtd?

    Your message has been successfully submitted and would be delivered to recipients shortly.