4 Replies Latest reply on Aug 10, 2006 5:59 PM by Newsgroup_User

    the right doc type?

    Level 7
      I just check out this article on A List Appart about doctypes.
      Unfortunately, I still don't understand what doctype to use. The article
      listed the following to use, but how do I know which one is for me?

      HTML 4.01 Strict, Transitional, Frameset

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


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


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


      XHTML 1.0 Strict, Transitional, Frameset

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


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


      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
      " http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">


      XHTML 1.1 DTD

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
      " http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">