Multiple choice xhtml

In writing XHTML?

  1. Attributes do not have quotes for their values

  2. All attributes values require quotes

  3. All values require attributes

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

In XHTML, all attribute values MUST be enclosed in quotes (single or double). This is a strict requirement differing from HTML where quotes were sometimes optional for simple values. Option B is correct.