Question -
Answer -
Two points of difference between HTML and XML follows:
HTML | XML |
HTML is a markup language that creates the form and appearance of the Web page. | XML is a text-based markup language for processing and displaying data in a structured format. |
HTML documents are viewable in a browser. | XML documents can be viewed only if proper stylesheet file is also available alongwith XML file. |
Three points of well-formed XML document are as follows:
1. The document must have a root element.
2. The element must have the opening and closing tags.
3. XML attributes values, should be in double quotation marks.
Table
Wood
75
1st
Chair
Plastic
85
IInd