• +91 9723535972
  • info@interviewmaterial.com

XHTML Interview Questions and Answers

Related Subjects

Question - What's About An Assumption With Xhtml?

Answer -

Serving XHTML with a MIME type of text/html is wrong.

The whole point of XHTML is that it’s XML so that you can benefit from namespaces and the like.

In particular, ‘text/html’ is NOT suitable for XHTML Family document types that adds elements and attributes from foreign namespaces, such as XHTML+MathML [XHTML+MathML].

Two choices:
1. XHTML 1.0 served as application/xhtml+xml to conforming UAs, and text/html to Internet Explorer
2. HTML 4.01, served as text/html 
XHTML 1.1 is not an option because it mandates a MIME type of application/xhtml+xml which is incompatible with Internet Explorer

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners