Quiz
1. |
What is the relationship between HTML and XHTML? |
2. |
How do XHTML attributes differ from typical HTML attributes? |
3. |
What is the root element of XHTML documents? |
Quiz Answers
1. |
XHTML is an XML-based markup language that carries out the functionality of HTML in the spirit of XML. More specifically, XHTML is a version of HTML 4.0 that plays by the more rigid rules of XML. |
2. |
Attributes in XHTML cannot be used without a value, and all XHTML attribute values must appear within quotes. |
3. |
The root element of XHTML documents is |
Exercises
1. |
Using the |
2. |
Find an existing HTML document and convert it to XHTML using the list of conversion steps presented in this tutorial. It's up to you whether you convert the document entirely by hand or take advantage of an automated tool, such as HTML Tidy. |