XHTML support in browsers

B

BOOGIEMAN

Does all main web browsers support XHTML code ?
If not which does and which don't ?
 
S

SpaceGirl

BOOGIEMAN said:
Does all main web browsers support XHTML code ?
If not which does and which don't ?

They all "support" it. IE gets a bit confused... but then it does that
with regular HTML as well :)
 
A

Andy Dingley

Does all main web browsers support XHTML code ?

What's "XHTML" ? If you mean _real_ XHTML, served under the right
content type, then it's still a problem.

If you just code some XHTML and serve it up as text/html, then
browsers see it as a slightly tastier version of the usual tag soup
and work very well with it. They've had to digest garbage for years,
XHTML is an improvement.

Read Appendix C of the XHTML TR at the w3c.org site.
 
S

Steve Pugh

BOOGIEMAN said:
Does all main web browsers support XHTML code ?

Depends on what you mean by support. All browsers are capable of
treating XHTML as if it was tag soup HTML. But only the more modern
browsers are capable of handling XHTML as XHTML.
If not which does and which don't ?

IE doesn't. IE supports HTML (it supports a large chunk but not all of
HTML 4.01) and can be made to treat XHTML as if it was HTML. It can't
cope with XHTML as XHTML. Mozilla, Opera, Safari and other modern
browsers cope better - both in terms of treating XHTML as HTML (they
support more of HTML 4.01) and in terms of treating XHTML as XHTML.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top