W3Schools

home HOME


Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

W3Schools XHTML Quiz

XHTML QUIZ Points: 19 out of 20

1. What does XHTML stand for?

 Correct Answer!


2. XHTML is a Web standard

 Correct Answer!


3. XML and HTML will be replaced by XHTML

 Correct Answer!


4. HTML will be replaced by XHTML

 Correct Answer!


5. What is the correct XHTML for a paragraph?

 Correct Answer!


6. What is a correct XHTML tag for a line break?

 Correct Answer!


7. What is the correct XHTML for an attribute and its value?

 Correct Answer!


8. All elements in XHTML must be closed

 Correct Answer!


9. Is this correct XHTML?

<ul>
<li>Coffee</li>
<li>Tea
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
<li>Milk</li>
</ul>

 Correct Answer!


10. The DOCTYPE declaration has no closing tag

 Correct Answer!


11. Which elements are mandatory in an XHTML document?

You answered: doctype, html, head, and body 

 Wrong Answer!


12. XHTML documents must be "well-formed"

 Correct Answer!


13. What XHTML code is "well-formed"?

 Correct Answer!


14. Which of the following is the right use of the lang attribute?

 Correct Answer!


15. Which attribute replaces the name attribute for the following elements: a, applet, frame, iframe, img, and map?

 Correct Answer!


16. Is attribute minimization allowed in XHTML?

 Correct Answer!


17. Do all XHTML documents require a doctype?

 Correct Answer!


18. What are the different DTDs in XHTML?

 Correct Answer!


19. What is the most common XHTML DTD?

 Correct Answer!


20. All XHTML tags and attributes must be in lower case

 Correct Answer!



By W3Schools Time spent: 2:45 

W3Schools is for training only. We do not warrant its correctness or its fitness to be used. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2007 by Refsnes Data. All Rights Reserved