Multiple choice xhtml

For XHTML to function properly?

  1. The code should be written in uppercase letters

  2. The XHTML document should be valid and well formed

  3. All end tags should be left open

  4. You require a special type of browser

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

For XHTML to function properly, documents must be both valid (conform to DTD) and well-formed (properly nested, closed tags, quoted attributes). XHTML syntax is case-sensitive and requires lowercase elements. Option B is correct.