Results 1 to 4 of 4

Thread: Xhtml strict 1.0 vs xhtml 1.1

  1. #1
    Join Date
    Oct 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Xhtml strict 1.0 vs xhtml 1.1

    Which one is better? XHTML STRICT 1.0 or XHTML 1.1

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    IE is incapable of displaying documents sent as application/xhtml+xml. As such, it can't display valid XHTML1.1, which must be sent using an XHTML MIME-type. XHTML 1.0, on the other hand, can validly be sent as text/html; however, doing so has serious problems, so really XHTML should be avoided altogether.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    will IE 7 support this type?

    apperentallly not,
    http://www.sitepoint.com/blogs/2005/...rt-in-whidbey/
    those *Cencored string of vulgar directed at Mircosoft* i hate them.
    Last edited by boxxertrumps; 10-29-2006 at 05:16 PM.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Well, the reason it doesn't support application/xhtml+xml is because it doesn't support XHTML at all. However, XHTML is generally close enough to HTML to be parsed as badly-written HTML, which is what happens when XHTML is sent as text/html. As such, all the benefits of using XHTML are effectively mitigated by using text/html, and the end result is worse than using HTML 4.01 Strict, the recommended DTD.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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