Thread: "proper" xhtml
View Single Post
Old 11-11-2004, 19:37   #2 (permalink)
zcorpan
Registered User
 
Join Date: Nov 2004
Posts: 1
Yes! And everyone else should do so, too. I've created this xhtml wizard that will create the code you need for both backwards and forwards compability.

(tip: check IE and PHP)

Why is this relevant? Well, xhtml must be sent as application/xhtml+xml in order to be treated as xhtml by the client. If it's sent as text/html, the browser will parse it as html.

And we all know that <br /> is invalid html?
  Reply With Quote