ExamVeda
Login
Home
This question belongs to HTML Basic HTML
Basic HTML
?

State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”

Answer & Solution
Correct Answer: Option B
HTML 4.01 and XHTML are different versions of HTML with slightly different rules.

HTML 4.01 is more lenient and allows some coding errors.

XHTML is stricter and requires well-formed code, meaning elements must be properly nested and closed.

You can't directly combine parts of an XHTML document with parts of an HTML 4.01 document in the same file and expect it to work correctly in all browsers. The browser will likely try to interpret the entire document using one set of rules, which will lead to errors or unexpected behavior.

Therefore, the statement "We can intermix XHTML and HTML 4.01 documents" is False.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Sudhakar Prajapati
Sudhakar Prajapati 2 years ago
Option B is correct