3 ms·
Won't the browser just interpret that as an HTML document then?
by mort96 4y ago
Won't the browser just interpret that as an HTML document then?
- notpushkin 4y agoNope. The thing that browser looks for is the Content-Type header – if it's set to application/xhtml+xml, it will parse the document as XHTML. For static sites, just setting extension to .xhtml is usually enough.