HTML and CSS Reference
In-Depth Information
Session 9.1 Quick Check
1. What is a well-formed document? What is a valid document?
2. Why is the following code not well formed?
<imgƒsrc=”logo.jpg”ƒalt=”WizardƒWorks”>
How would you correct it?
3. Why is the following code not well formed?
<inputƒtype=”radio”ƒdisabledƒ/>
How would you correct it?
4. Why is the following code not valid under strict XHTML?
<blockquote>
ƒƒƒForƒmoreƒinformationƒgoƒtoƒtheƒ<aƒhref=”faq.
htm”>FAQƒpage</a>
</blockquote>
Suggest a correction for the problem.
5. Why is the following code not valid under strict XHTML?
<imgƒsrc=”logo.jpg”ƒalt=”WizardƒWorks”ƒalign=”right”ƒ/>
How would you fix it?
6. Why is the following code not valid under transitional XHTML?
<mapƒname=”parkmap”>ƒ...ƒ</map>
Suggest a change to the code that would correct the problem and make the code
backward compatible with older browsers.
7. What declaration would you add to an XHTML document to associate it with
the XHTML strict DTD?
8. What statement do you add to the start of a file to declare it as an XML
document?
Search WWH ::




Custom Search