What is the difference between .htm and .xhtml?
- Extension
- .htm
- .xhtml
- Format
- Text
- Text
- Category
- Developer
- Developer
- Developer
- World Wide Web Consortium (W3C)
- The World Wide Web Consortium (W3C)
- Description
- Commonly used by web browsers like Mozilla Firefox and Internet Explorer to show format text and images in an HTML web page. In plain text format, they contain markup code.
- XHTML files are a type of markup language document used to create webpages. It is an XML-based version of HTML and is designed to meet the needs of Web developers. XHTML files have a .xhtml extension and can be viewed in any web browser.
- MIME Type
- text/html
- application/xhtml+xml
- Sample
- sample.htm
- Wikipedia
- .htm on Wikipedia
- .xhtml on Wikipedia