Multiple choice web-design

Which of the following is true of XHTML?

  1. It is a new hybrid technology that is different from both XML and HTML.

  2. You can't use it to create Web pages.

  3. It is a reformulation of HTML in XML.

  4. It has totally replaced HTML as the tool for building Web pages.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To solve this question, the user needs to have a basic understanding of web development and markup languages.

Now, let's go through each option and explain why it is right or wrong:

A. It is a new hybrid technology that is different from both XML and HTML. - This option is incorrect. XHTML stands for "Extensible Hypertext Markup Language", and it is a markup language that is based on XML. XHTML combines the syntax of HTML with the strictness of XML.

B. You can't use it to create Web pages. - This option is incorrect. XHTML is used to create web pages just like HTML.

C. It is a reformulation of HTML in XML. - This option is correct. XHTML is a reformulation of HTML in XML, which makes it easier for web developers to create valid and well-formed web pages.

D. It has totally replaced HTML as the tool for building Web pages. - This option is incorrect. Although XHTML has some advantages over HTML, it has not completely replaced it. HTML is still widely used for building web pages.

Therefore, the correct answer is:

The answer is: C

AI explanation

XHTML (Extensible HyperText Markup Language) is essentially HTML reformulated as an XML application — it uses the same tags and attributes as HTML but must follow strict XML syntax rules (properly nested and closed tags, lowercase element names, quoted attribute values, etc.). It is not a wholly new or different technology from XML/HTML — rather it merges the two. The other options are false: XHTML absolutely can and was used to build web pages, and it never fully 'replaced' HTML — both continued (and coexist) as valid markup approaches, with HTML5 eventually becoming dominant.