Quiz
1. |
What is an empty element? |
2. |
What is the significance of the root element of a document? |
3. |
What is the XML declaration, and where must it appear? |
4. |
How would you code an empty element named |
Quiz Answers
1. |
An empty element is an element that doesn't contain any content within its opening and closing tags. Empty elements can be coded as a pair of tags ( |
2. |
The root element of a document contains all of the other elements in the document; every document must have exactly one root element. |
3. |
The XML declaration is a line of code at the beginning of an XML document that identifies the version of XML used by the document. |
4. |
|
Exercises
1. |
Add another trivia question to the |
2. |
Modify the |