Free since 2005 · No login required
AT

Academic Tutorials

Learn at your own pace

site-mobile-top-banner · 320x50

Can I just put the XML declaration on top of existing HTML documents? Can I intermix HTML 4.01 and XHTML documents?

No. HTML is not in XML format. You have to make the changes necessary to make the document proper XML before you can get it accepted as XML.