|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
XHTML
DETAILS
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. If you serve it as text/html, you can’t: 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]. Source: http://www.w3.org/TR/xhtml-media-types/#text-html 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
|
|
|
Category |
XHTML Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8991 users |
Added on |
9/14/2014 |
Views |
66232 |
Rate it! |
|
|
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. If you serve it as text/html, you can’t: 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]. Source: http://www.w3.org/TR/xhtml-media-types/#text-html 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 Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Why is this XSLT important?
|
View Answer
|
|
Any other important new developments?
|
View Answer
|
|
Why do we need modular DTDs?
|
View Answer
|
|
Why XHTML Modularization?
|
View Answer
|
|
Why Code Your Own XHTML?
|
View Answer
|
|
How To Get Ready For XHTML?
|
View Answer
|
|
How is XHTML better than HTML? Why would you want to use XHTML?
|
View Answer
|
|
Differences between XML and HTML?
|
View Answer
|
|
Why we use XHTML?
|
View Answer
|
|
How does XHTML differ from HTML ?
|
View Answer
|
|
What XHTML does it stand for? How is if different from HTML? Who developed it? ?
|
View Answer
|
|
What the benefits of XHTML
|
View Answer
|
|
Why is this XSLT important inxhtml?
|
View Answer
|
|
What is XHTML Modularization?
|
View Answer
|
|
Attributes values must be in double or single quotes
|
View Answer
|
|
What the benefits of XHTML are?
|
View Answer
|
|
What's the advantages of XHTML?
|
View Answer
|
|
What about conversion of existing HTML pages - especially bulk conversion, as I have many thousands of HTML files!
|
View Answer
|
|
Can we get down to practicalities. How do I create XHTML pages?
|
View Answer
|
|
XHTML should be the master storage format for my resources?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All XHTML Interview Questions & Answers - Exam Mode /
Learning Mode
|