Xhtml(Engineering > Computer Science And Engineering ) Questions and Answers

Question 1. HTML and XHTML stands for
  1.    Hyper Text Markup Language and EXtensible HyperText Markup Language
  2.    Hyper Text Markup Language and EXtensible HyperText Marking Language
  3.    Hyper Text Marking Language and EXtensible HyperText Marking Language
  4.    None of the mentioned
Explanation:-
Answer: Option A. -> Hyper Text Markup Language and EXtensible HyperText Markup Language





Question 2. XHTML 1.0 has W3C Recommendation since?
  1.    30 Jan 2000
  2.    03 Feb 2000
  3.    26 Jan 2000
  4.    14 Feb 2000
Explanation:-
Answer: Option C. -> 26 Jan 2000





Question 3. The elements such as bold(b), italic(i), strong(strong), emphasis(em) are the examples of
  1.    plain elements
  2.    outline elements
  3.    block level elements
  4.    inline elements
Explanation:-
Answer: Option D. -> inline elements





Question 4. In the case of _______, self-close identification schema are used for empty elements
  1.    XHTML
  2.    HTML
  3.    DHTML
  4.    XML
Explanation:-
Answer: Option A. -> XHTML





Question 5. Which of the following are table tags?
  1.    table, thead, tr, td
  2.    colspan, table, tr
  3.    table, tt, tr, td
  4.    None of the mentioned
Explanation:-
Answer: Option A. -> table, thead, tr, td





Question 6. XHTML is more formal and stricter version of HTML. i.e.
  1.    It has properly nested elements
  2.    All XHTML elements must always be closed
  3.    All XHTML elements must be written in lower case
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above





Question 7. The process of checking whether a document conforms to the rules of DTD is called
  1.    checking
  2.    validation
  3.    conformation
  4.    declaration
Explanation:-
Answer: Option B. -> validation





Question 8. How can you define DTD in XHTML?
  1.    Strict DTD
  2.    Transitional DTD
  3.    Frameset DTD
  4.    All of these
Explanation:-
Answer: Option D. -> All of these





Question 9. ________ is an HTML finalized by the W3C in early 1997 that standardized most of the HTML features introduced in browsers such as Netscape 3.0
  1.    HTML 2.0
  2.    HTML 2.2
  3.    HTML 3.0
  4.    HTML 3.2
Explanation:-
Answer: Option D. -> HTML 3.2





Question 10. Choose the correct statement
  1.    In traditional XHTML close tag for some elements is optional but not encouraged
  2.    In traditional HTML close tag for some elements is optional but not encouraged
  3.    None of the mentioned
  4.    In both traditional XHTML and HTML close tag for some elements is optional
Explanation:-
Answer: Option B. -> In traditional HTML close tag for some elements is optional but not encouraged