Well "...ish".
You can't write HTML 4.01 that conforms to XML standards, but XHTML 1.0 is a language that reimplements HTML 4.01 in XML.
The obvious change to give as an example is that <br> in HTML is <br/> in XHTML - but if you tried to use <br/> in HTML then it would mean the same as <br/>> (or a line beak followed by a greater than symbol).
So you can't just output XHTML and then slap an HTML Doctype on it. (Heck, its not really safe to serve XHTML as text/html despite what it says in Appendix C of the XHTML 1.0 Spec.)
In reply to Re^4: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by dorward
in thread Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |