Results 1 to 2 of 2

Thread: xHTML 1.0 or HTML 4.01

  1. #1
    Join Date
    Feb 2011
    Posts
    62

    xHTML 1.0 or HTML 4.01

    I've moved to xHTML 1.0 now. Anyone else moved on from 4.01 transistional yet? Any one know the pros and cons of these different standards?

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    XHTML 1.0 with content="text/html" is "tag soup" since you are using XHTML doctype and XHTML coding methods like lower case tags and closing with /> instead of > but a few lines later you are telling browsers to process it as HTML. It doesn't really matter, but it's a mixture of two methods.

    Read this:-
    http://www.killersites.com/mvnforum/...ead=2139#18788

    Since he wrote that we now have HTML 5 in beta form which you can use now, and pure XHTML with content="application/xhtml+xml" which you shouldn't use for normal websites.

    Read this too:-
    http://www.wickham43.net/generaladvice.php#xhtml

    Note that http://dev.w3.org/html5/spec/Overview.html in Item 1.6 HTML vs XHTML in the W3C HTML 5 page says The first such concrete syntax is the HTML syntax. This is the format recommended for most authors. It is compatible with most legacy Web browsers. If a document is transmitted with the MIME type text/html, then it will be processed as an HTML document by Web browsers.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Html. Xhtml & css
    By learningWeb in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 17 Jan 2010, 06:41 PM

Posting Permissions

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