📊 HTML
Q. State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”
  • (A) True
  • (B) False
  • (C) ---
  • (D) ---
💬 Discuss
✅ Correct Answer: (B) False

Explanation:

XHTML is a stricter, XML-based version of HTML 4.01.

  • Since XHTML follows XML rules, it can be mixed with HTML 4.01, but only under certain conditions.
  • If the document follows HTML 4.01 standards, it should use text/html as its MIME type.
  • If the document follows XHTML standards, it should use application/xhtml+xml as its MIME type.

Intermixing Conditions:

  • If an HTML 4.01 document contains XHTML content, it must be properly closed and well-formed.
  • Many modern browsers support mixing XHTML inside HTML documents.
  • However, the reverse (HTML inside strict XHTML) might not always work.

Thus, the statement "We can intermix XHTML and HTML 4.01 documents" is True but with certain restrictions.

Explanation by: Official MCQ Buddy

XHTML is a stricter, XML-based version of HTML 4.01.

  • Since XHTML follows XML rules, it can be mixed with HTML 4.01, but only under certain conditions.
  • If the document follows HTML 4.01 standards, it should use text/html as its MIME type.
  • If the document follows XHTML standards, it should use application/xhtml+xml as its MIME type.

Intermixing Conditions:

  • If an HTML 4.01 document contains XHTML content, it must be properly closed and well-formed.
  • Many modern browsers support mixing XHTML inside HTML documents.
  • However, the reverse (HTML inside strict XHTML) might not always work.

Thus, the statement "We can intermix XHTML and HTML 4.01 documents" is True but with certain restrictions.

💬 Discussion


📊 Question Analytics

👁️
315
Total Visits
📽️
4 y ago
Published
🎖️
Harikesh
Publisher
📈
87%
Success Rate