Web Analytics Made Easy -
StatCounter Xhtml 1.1 - CodingForum

Announcement

Collapse
No announcement yet.

Xhtml 1.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xhtml 1.1

    I want to know if its ok to build web pages with XHTML 1.1 because I'm not sure if its compadible with most browsers. Thanks in advance.

    - Goober

  • #2
    Coding to XHTML 1.1 has lots of advantages.

    1) Your site will be forward compatible. Sure, maybe a few things won't work in older browsers, but at somepoint you need to say NN 4.7 users, you need to updgrade. I mean really that browser's over 5 years old now.

    2) It will force you to code more symantically correct, which will reduce backwards compatibility issues anyway.

    3) It will enhance accessibility for users (see Section 508 / WAI)

    4) It will most likely work on other media devices as well. (Palm Pilots, webTV, etc)

    Anybody have more???
    Create accessible online surveys -::- Koobten.com - compare netbook prices and reviews -::- Affordable, reliable hosting for less than $20 per year
    Zend Certified Engineer

    Comment


    • #3
      Your code will be cleaner since you have to use CSS, the code is easier for others to work on.

      Since your signal-to-noise ratio will be low, it improves your google rankings.
      OracleGuy

      Comment


      • #4
        Is it compatible with most modern browsers? (Like IE 5 and better, and most recent versions of Netscape?). Because as far as know, XHTML 1.1 became a W3C recommendation fairly recently.

        Comment


        • #5
          XHTML1.1 is NOT supported in any ie version on an platform if served as 'application/xhtml+xml' (which it should be).

          It IS supported as 'text/xml' or 'application/xml' in iew, but only in the same way XML is. That is, ALL elements are treated as inline elements and have no default behavior or style attached to it. Which means that for example links and form controls act exactly like span elements.


          It is fully supported by moz, op7, saf. I don't know about msn/osx, but brothercake could probably tell you whether or not that browser supports it.


          (Generally, when we say MODERN browsers, we don't include four year old browsers like ie6w or earlier.)
          Last edited by liorean; Feb 14, 2004, 01:45 PM.
          liorean <[[email protected]]>
          Articles: RegEx evolt wsabstract , Named Arguments
          Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
          Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

          Comment


          • #6
            Originally posted by liorean
            Generally, when we say MODERN browsers, we don't include four year old browsers like ie6w or earlier.
            I didn't Know it was that old, LOL.
            Last edited by Goober; Feb 14, 2004, 02:00 PM.

            Comment


            • #7
              And yet, the question that's really being asked here (even if you don't realise it yet) is does XHTML1.1 have any advantages over 1.0?
              David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
              W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

              Comment


              • #8
                I don't know dose it?

                Comment


                • #9
                  Well, with the exception of it's modularity, no, it doesn't. If you write your own XHTML1.1 DTD though, it does.

                  The largest difference between 1.0 and 1.1 in practice, is that 1.1 MUST NOT be served as HTML (which mean you are not allowed to use the 'text/html' MIME type).
                  liorean <[[email protected]]>
                  Articles: RegEx evolt wsabstract , Named Arguments
                  Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
                  Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

                  Comment

                  Working...
                  X