1) What are differences between XML and HTML? S.

N o 1 2 3 XML XML provides user definable tags XML is content driven End tags are essential in a well formed XML document. In a well formed document, elements can be defined as single tag or a pair of tags like <student/> or the <student>…</student> pair Quotes required around attribute values Slash required in empty tags XML is used for describing data HTML HTML provides defined set of tags designed for web display HTML is format driven End tags are not always required.<HTML> tag needs an equivalent </HTML> tag but <br> tag does not require </br> tag Quotes are not required for the values of attributes Slash not required HTML is used for designing pages

4 5 6

Sign up to vote on this title
UsefulNot useful