Why is it disallowed to send XHTML 1.1 documents as text/html?

Answer Posted / guest

XHTML 1.1 is pure XML, and only intended to be XML. It
cannot reliably be sent to legacy browsers. Therefore XHTML
1.1 documents must be sent with an XML-related media type,
such as application/xhtml+xml.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is emphasized text?

446


What do you mean by xhtml?

427


How do you put a tag on a picture in html?

470


Is localstorage async?

460


Why to use figcaption tag in html5?

471






What if there is no text between the tags or if a text was omitted by mistake? Will it affect the display of the HTML file?

523


What is html lang en?

461


What is the use of

tag?

479


You want only a vertical scrollbar and no horizontal scrollbar on your page. How would you do it?

460


What is tsd stand for?

463


How can you apply javascript to a web page?

466


What is doctype & why it is important?

478


Is meta a self closing tag?

455


What are the disadvantages of html?

435


Explain what the use of canvas element in html5?

480