Which of the following statements correctly describe the differences between HTML and XML?

Which of the following statements correctly describe the differences between HTML and XML? Each
correct answer represents a complete solution. Choose all that apply.

Which of the following statements correctly describe the differences between HTML and XML? Each
correct answer represents a complete solution. Choose all that apply.

A.
XML is a W3C Recommendation and HTML is not.

B.
HTML defines only the Web display format of data through tags but XML defines the semantic
information of data through tags.

C.
XML focuses on what data is and HTML focuses on how data looks.

D.
HTML was designed to transport and store data and XML was designed to display data.

Explanation:

XML stands for Extensible Markup Language. It is a metamarkup language for developing text
documents. This language allows developers and writers to invent the elements they need, as they
need them. This language defines a generic syntax used to mark up data with simple, humanreadable tags. The following table depicts the differences between HTML and XML:

Answer D is incorrect. XML was designed to transport and store data and HTML was designed to
display data.

Answer A is incorrect. Both, XML and HTML are W3C recommendations.



Leave a Reply 0

Your email address will not be published. Required fields are marked *