Microsoft
98-361 · Question #144
In this XHTML code sample, what will cause an error?
The correct answer is A. The line break tag is incorrectly formatted. In XHTML, the <br> tag must be properly closed, like this: <br />.
Understanding Web Applications
Question
In this XHTML code sample, what will cause an error?
Exhibit
Options
- AThe line break tag is incorrectly formatted.
- BThe HTML tags do not read XHTML.
- CThe body tag is missing a background attribute,
- DAll tags are not in uppercase.
How the community answered
(35 responses)- A71% (25)
- B9% (3)
- C3% (1)
- D17% (6)
Explanation
In XHTML, the <br> tag must be properly closed, like this: <br />.
Topics
#XHTML#self-closing tags#markup validation#HTML syntax
Community Discussion
No community discussion yet for this question.
