dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: XHTML Black Book

  1. #1
    1337Phantom-I
    Join Date
    Jun 2008
    Location
    My World!
    Posts
    25

    Question XHTML Black Book

    XHTML Black Book is what I'm currently reading. It's a pretty good book; it covers HTML, XHTML and some XML and compares them to there old versions.

    Well anyway that book led me to two simple questions:

    XHTML 1.0 or 1.1? Is XHTML 1.1 based on XHTML 1.0 strict? Because I prefer transitional; CSS got it's limits...

    Should I use DTD files in a directory? (I never seen a website do that)...?






    TY For Taking Your Time To Read Regular Smile
    #1...

  2. #2
    Junior Member
    Join Date
    Sep 2008
    Posts
    5
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    It is XHTML 1.0 and if you are using transitional then the doctype is the above one.

  3. #3
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Any transitional doctype is bad, they allow far too much mixing of presentation and content. Are there any specific issues you're having getting your pages working using a strict doctype and CSS for presentation? As for XHTML 1.1, it requires an XML mime type, which makes it incompatible with internet explorer - so not a good choice. Hence you're best sticking with XHTML 1 strict, or probably better HTML 4.01 strict.

    See this discussion for further details of HTML vs XHTML http://www.sitepoint.com/forums/showthread.php?t=393445

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center