Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index

XHTML 1.0 - Interview Questions

By: FYIcenter.com

Part:   1   2 

Here are some nice interview questions on XHTML 1.0. You can find answers to these questions in other parts of this tutorial collection.

Basic Concepts

  • What is XHTML?
  • How is XHTML related to HTML?
  • How is XHTML related to XML?
  • What are the main advantages of XHTML over HTML?
  • Is an XHTML document an XML document?
  • Is an XML document an XHTML document?
  • Is XHTML going to replace HTML?
  • Is XML going to replace XHTML?

XHTML Syntax

  • What is the root element of an XHTML document?

    1. <root>
    2. <xml>
    3. <html>
    4. <xhtml>
  • What is XHTML tag?
  • What is XHTML element?
  • What is XHTML attribute?
  • How to close an XHTML element?
  • What is an empty XHTML element?
  • What is PCDATA?
  • What is CDATA?
  • How many errors in <h1><img src=bad_image.gif></h1>?

    1. One error
    2. Two errors
    3. Three errors
    4. Four errors

Block Elements

  • What is a block element?
  • Is "h1" a block element?
  • Is "br" a block element?
  • Is "pre" a block element?
  • Can you use a block element inside a "p" element?
  • Can you use a block element inside a "li" element?
  • Can you use a block element inside a "td" element?

(Continued on next part...)

Part:   1   2 


Selected Developer Jobs:

More...