Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: Xhtml 1.1

  1. #1
    New Coder
    Join Date
    Aug 2003
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 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
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    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???

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    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

  • #4
    New Coder
    Join Date
    Aug 2003
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    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; 02-14-2004 at 07:45 PM.
    liorean <[lio@wg]>
    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

  • #6
    New Coder
    Join Date
    Aug 2003
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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; 02-14-2004 at 08:00 PM.

  • #7
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

  • #8
    New Coder
    Join Date
    Aug 2003
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't know dose it?

  • #9
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    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 <[lio@wg]>
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •