Questions
Question 1 Multiple Choice (Single Answer)
What is the correct XHTML for an attribute and its value?
- WIDTH="80"
- width="80"
- width=80
- Width=80
Question 2 Multiple Choice (Single Answer)
All elements in XHTML must be closed
- True
- False
Question 3 Multiple Choice (Single Answer)
The DOCTYPE declaration has no closing tag
- True
- False
Question 4 Multiple Choice (Single Answer)
Which elements are mandatory in an XHTML document?
- doctype, html and body
- doctype, html, head, body, and title
- doctype, html, head, and body
Question 5 Multiple Choice (Single Answer)
What XHTML code is "well-formed"?
- <p>A short paragraph</p>
- <p>A short paragraph</p>
- <p>A short paragraph</P>
Question 6 Multiple Choice (Single Answer)
Which of the following is the right use of the lang attribute?
- <div lang="en" xml:lang="en">Hello World!
- <div xml:language="en">Hello World!
- <div language="en">Hello World!
Question 7 Multiple Choice (Single Answer)
What are the different DTDs in XHTML?
- Strict, Transitional, Loose, Frameset
- Strict, Transitional, Frameset
- Strict, Transitional, Loose
Question 8 Multiple Choice (Single Answer)
What is the most common XHTML DTD?
- Loose
- Normal
- Transitional
- Frameset
Question 9 Multiple Choice (Single Answer)
Do all XHTML documents require a doctype?
- Yes
- No
Question 10 Multiple Choice (Single Answer)
All XHTML tags and attributes must be in lower case
- True
- False