Trắc nghiệm xHTML (English)
Sunday, 6. May 2007, 15:35:21
1. What does XHTML stand for?
EXtensible HyperText Markup Language
EXtra Hyperlinks and Text Markup Language
EXtreme HyperText Markup Language
EXtensible HyperText Marking Language
2. XHTML is a Web standard
True
False
3. XML and HTML will be replaced by XHTML
False
True
4. HTML will be replaced by XHTML
False
True
5. What is the correct XHTML for a paragraph?
<p></p>
</p><p>
<P></P>
<P></p>
6. What is a correct XHTML tag for a line break?
<break/>
<br />
<br>
7. What is the correct XHTML for an attribute and its value?
width=80
WIDTH=80
WIDTH="80"
width="80"
8. All elements in XHTML must be closed
True
False
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>
Yes
No
10. The DOCTYPE declaration has no closing tag
False
True
11. Which elements are mandatory in an XHTML document?
doctype, html, head, body, and title
doctype, html and body
doctype, html, head, and body
12. XHTML documents must be "well-formed"
False
True
13. What XHTML code is "well-formed"?
<p>A <b><i>short</b></i> paragraph</p>
<p>A <b><i>short</i></b> paragraph
<p>A <b><i>short</i></b> paragraph</p>
14. Which of the following is the right use of the lang attribute?
<div xml:language="en">Hello World!</div>
<div lang="en" xml:lang="en">Hello World!</div>
<div language="en">Hello World!</div>
15. Which attribute replaces the name attribute for the following elements: a, applet, frame, iframe, img, and map?
The id attribute
The src attribute
The class attribute
16. Is attribute minimization allowed in XHTML?
Yes
No
17. Do all XHTML documents require a doctype?
Yes
No
18. What are the different DTDs in XHTML?
Strict, Transitional, Loose, Frameset
Strict, Transitional, Frameset
Strict, Transitional, Loose
19. What is the most common XHTML DTD?
Transitional
Normal
Frameset
Loose
20. All XHTML tags and attributes must be in lower case
False
True
















cssquestions # 6. May 2007, 15:41
ngocduong # 7. May 2007, 04:07
htlcnn # 28. December 2007, 12:15
EXtensible HyperText Markup Language
2. XHTML is a Web standard
True
3. XML and HTML will be replaced by XHTML
False
4. HTML will be replaced by XHTML
True
5. What is the correct XHTML for a paragraph?
6. What is a correct XHTML tag for a line break?
7. What is the correct XHTML for an attribute and its value?
width="80"
8. All elements in XHTML must be closed
False
9. Is this correct XHTML?
No
10. The DOCTYPE declaration has no closing tag
True
11. Which elements are mandatory in an XHTML document?
doctype, html, head, and body
12. XHTML documents must be "well-formed"
False
13. What XHTML code is "well-formed"?
A short paragraph
14. Which of the following is the right use of the lang attribute?
15. Which attribute replaces the name attribute for the following elements: a, applet, frame, iframe, img, and map?
The id attribute
16. Is attribute minimization allowed in XHTML?
Yes
17. Do all XHTML documents require a doctype?
Yes
18. What are the different DTDs in XHTML?
Strict, Transitional, Loose, Frameset
19. What is the most common XHTML DTD?
Transitional
20. All XHTML tags and attributes must be in lower case
True
vừa làm trên w3c vừa làm ở đây:D
htlcnn # 28. December 2007, 12:16
Time Spent
3:06
T_T