I'm starting to learn XHTML. Anybody know for sure what file extensions you can use with XHTML pages? Can you use ".htm" and/or ".html" extensions or do you have to use ".xhtml" file extensions?
You can actually use any extension you want, but you have to make sure the server sends the right mime type with the response. Most servers are configured by default to send the "text/html" mime type with the extensions BillyRayPreachersSon mentioned, so those should work fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.