Wednesday, May 22, 2013
 
 
 IT Quizzes Category



Search Web Link
Search Software
Quizzes Main Page    IT Quizzes    XHTML Quiz

XHTML Quiz

There are 22 questions in this quiz. Good luck!
Passing grade is 70% = C.
1) What does the term XHTML stand for?
       a) X-function of HTML
       b) Ex Hyper Text Markup Language
       c) Extensible Hypertext Markup Language
       d) Extensible Hype Manditory Learning


2) What is the DTD?
       a) A method tied to an object
       b) A Detrimental Transitional Development
       c) The Document Type Declaration
       d) The Difinitive Type Definition


3) Which of the statments are true?
       a) XHTML and SGML are both subsets of HTML
       b) XHTML is a subset of SGML
       c) SGML is a subset of XHTML
       d) SGML is a simplified version of XHTML


4) Which of the statements are false?
       a) XHTML documents are not parsed in the browser before display
       b) XHTML is parsed with a DTD
       c) The Doctype Declaration indicates to the parser which DTD to use
       d) XHTML syntax needs to be well formed


5) What statement makes the most sense?
       a) XHTML is more advanced than HTML
       b) HTML and XHTML are both the same language
       c) XML and XHTML are written in the same mannor
       d) HTML will load faster than XHTML in most cases


6) Which statment makes the least sense?
       a) HTML will still be the choice of most professional web developers for many years to come
       b) XHTML will replace most of the HTML pages on the internet
       c) XHTML is a replacement for HTML
       d) HTML causes a lot of problems on the internet in it current form


7) XHTML will work best if it is Validated ?
       a) It is not always best to validate XHTML
       b) The statment is false
       c) This is a true statement
       d) XHTML is not validated


8) For XHTML to function properly?
       a) The code should be written in uppercase letters
       b) The XHTML document should be valid and well formed
       c) All end tags should be left open
       d) You require a special type of browser


9) In writing XHTML ?
       a) The opening and closing tags should start and end with XHTML
       b) The end tags of the img tag should be left open
       c) Uppercase letters should not be used between the opening and closing tags
       d) The Doctype Declaration should have a closing tag simular to the img tag or the meta tag


10) In writing XHTML?
       a) Attributes do not have quotes for their values
       b) All attributes values require quotes
       c) All values require attributes


11) What is the correct XHTML for a paragraph?
       a) <P></p>
       b) <P></P>
       c) <p></p>
       d) </p><p>


12) What is a correct XHTML tag for a line break?
       a) <br>
       b) <break/>
       c) <br >
       d) <br />


13) What is the correct XHTML for an attribute and its value?
       a) WIDTH="80"
       b) width="80"
       c) width=80
       d) Width=80


14) All elements in XHTML must be closed
       a) True
       b) False


15) The DOCTYPE declaration has no closing tag
       a) True
       b) False


16) Which elements are mandatory in an XHTML document?
       a) doctype, html and body
       b) doctype, html, head, body, and title
       c) doctype, html, head, and body


17) What XHTML code is "well-formed"?
       a) <p>A <b><i>short</b></i> paragraph</p>
       b) <p>A <b><i>short</i></b> paragraph</p>
       c) <p>A <b><i>short</i></b> paragraph</P>


18) Which of the following is the right use of the lang attribute?
       a) <div lang="en" xml:lang="en">Hello World!</div>
       b) <div xml:language="en">Hello World!</div>
       c) <div language="en">Hello World!</div>


19) What are the different DTDs in XHTML?
       a) Strict, Transitional, Loose, Frameset
       b) Strict, Transitional, Frameset
       c) Strict, Transitional, Loose


20) What is the most common XHTML DTD?
       a) Loose
       b) Normal
       c) Transitional
       d) Frameset


21) Do all XHTML documents require a doctype?
       a) Yes
       b) No


22) All XHTML tags and attributes must be in lower case
       a) True
       b) False






HOME | MUSIC | DOWNLOADS |  GAMES | TEST-QUIZZES | SITEMAP | ABOUT | HELP
Copyright © 2000 - 2013 Ex-designz. All rights reserved. Website Developed By Dexter Zafra of Myasp-net.com
Link to us | Advertisement | Contact us | Privacy Policy | Terms of use | Accessibility