1. What does XHTML stand for? |
| EXtreme HyperText Markup Language |
| EXtensible HyperText Marking Language |
| EXtensible HyperText Markup Language |
EXtra Hyperlinks and Text Markup Language
|
2. What is the correct XHTML for a paragraph? |
| <P></p> |
| </p><p> |
| <p></p> |
<P></P>
|
3. What is a correct XHTML tag for a line break? |
| <break/> |
| <br /> |
| <br> |
<break>
|
4. What is the correct XHTML for an attribute and its value? |
| WIDTH="80" |
| width=80 |
| width="80" |
WIDTH=80
|
5. Which elements are mandatory in an XHTML document? |
| doctype, html, head, body, and title |
| doctype, html and body |
| doctype, html, head, and body |
doctype, html, title, and body
|
6. What XHTML code is "well-formed"? |
| <p>A <b><i>short</i></b> paragraph |
| <p>A <b><i>short</i></b> paragraph</p> |
| <p>A <b><i>short</b></i> paragraph</p> |
None of these
|
7. Which of the following is the right use of the lang attribute? |
| <div language="en">Hello World!</div> |
| <div lang="en" xml:lang="en">Hello World!</div> |
| <div xml:language="en">Hello World!</div> |
<div xml:lan="en">Hello World!</div>
|
8. Which attribute replaces the name attribute? |
| The src attribute |
| The id attribute |
| None |
All of the above
|
9. What are the different DTDs in XHTML? |
| Strict, Transitional, Frameset |
| Strict, Transitional, Loose, Frameset |
| Strict, Transitional, Loose |
Strict, Transitional, Loose ,Form
|
10. What is the most common XHTML DTD? |
| Frameset |
| Loose |
| Transitional |
Normal
|
11. Which of the statments are true? |
| SGML is a subset of XHTML |
| XHTML and SGML are both subsets of HTML |
| SGML is a simplified version of XHTML |
XHTML is a subset of SGML
|
12. Which of the statements are false? |
| XHTML is parsed with a DTD |
| The Doctype Declaration indicates to the parser which DTD to use |
| XHTML documents are not parsed in the browser before display |
XHTML syntax needs to be well formed
|
13. What statement makes the most sense? |
| XHTML is more advanced than HTML |
| HTML and XHTML are both the same language |
| XML and XHTML are written in the same mannor |
HTML will load faster than XHTML in most cases
|
14. Which statment makes the least sense? |
| XHTML will replace most of the HTML pages on the internet |
| HTML will still be the choice of most professional web developers for many years to come |
| XHTML is a replacement for HTML |
HTML causes a lot of problems on the internet in it current form
|
15. XHTML will work best if it is Validated ? |
| This is a true statement |
| It is not always best to validate XHTML |
| The statment is false |
XHTML is not validated
|
16. For XHTML to function properly? |
| You require a special type of browser |
| The code should be written in uppercase letters |
| All end tags should be left open |
The XHTML document should be valid and well formed
|
17. In writing XHTML |
| The opening and closing tags should start and end with XHTML |
| The end tags of the img tag should be left open |
| Uppercase letters should not be used between the opening and closing tags |
The Doctype Declaration should have a closing tag simular to the img tag or the meta tag
|
18. In writing XHTML |
| Attributes do not have quotes for their values |
| All attributes values require quotes |
| All values require attributes |
Quotes are values
|
19. Which of the following best describes the purpose of an array? |
| To store a piece of information |
| To store a list of information |
| To organize code in a logical fashion |
To relate two pieces of information
|
20. What is the DTD? |
| A method tied to an object |
| The Document Type Declaration |
| A Detrimental Transitional Development |
The Difinitive Type Definition
|