Click to See Complete Forum and Search --> : HTML or XHTML doc?
HazardTW
06-09-2007, 01:50 AM
Seems to me like I read somewhere that if you use doc type HTML as opposed to XHTML that you will get better compatibility with IE, is this true or does it make no difference?
Which would be more proper to use?
felgall
06-09-2007, 02:32 AM
IE will assume it is an HTML page rather than XHTML as IE prior to version 9 (at least) do not understand XHTML unless it is treated as either HTML or XML. There is no word yet on whether support for XHTML will be added to IE version 9 but Microsoft have guaranteed that IE8 will definitely not support it.
Differences between html and xhtml (http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Differences_Between_HTML_and_XHTML)
As a personal observation, I see many 'xhtml' documents in forum posts of which (virtually) none are served correctly, and as felgall points out, IE does not support xhtml what is the point of using it.
HazardTW
06-09-2007, 04:37 AM
"IE does not support xhtml what is the point of using it."
I am hoping it refers to IE? LMAO ... hey I can dream!
Thanks guys, that confirms what I thought I read during one of my late night eye-bleeding sessions.
Because of that, I had switched from XHTML docs to HTML docs and I do seem to be having a little better time with IE, but then again I figured maybe it was just me getting better at dealing with IE.
Thanks again! :)