1 Reply Latest reply: May 12, 2011 6:20 AM by SnakEyez02 RSS

    Default Document Type

    greensotong

      I need to understand the types of DTD much better. What is the default document type normally?

        • 1. Re: Default Document Type
          SnakEyez02 CommunityMVP

          A document type mostly tells the browser what code to expect and how it should render that code.  HTML tennds to be much looser in restrictions whereas XHTML is a much more strict language.  If you are designing towards mobile devices HTML5 is probably the way you want to focus your attention.

           

          My theory right now with the state of browsers.  If you want things compatible back to older browsers (IE6/7/8) stick to HTML4 or XHTML.  But learning HTML5 is not necessarily a bad thing because once it becomes more common you will be ahead of the curve.