Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
2.5k views
in Information Technology by (59.6k points)

Vani, a class X student has recently completed her HTML course and just started learning XML. Help her in the following: 

(i)  Mention her any one main difference between HMTL and XML. 

(ii)  She has been told that “All major browsers have a built-in XML parser to access and manipulate XML”. Is this statement right or wrong?

(iii)  Explain her the purpose of comments in XML document.

(iv) Tell her the syntax to put comments in XML documents.

(v)  Explain her the meaning of well-formed XML documents

1 Answer

+2 votes
by (88.9k points)
selected by
 
Best answer

(i)  Primary purpose of HTML is to design a webpage while XML is used to store and transport the data.

(ii)  Right

(iii)  Comments are added as notes or lines for understanding the purpose of an XML code. 

(iv) A comment starts with <!--and ends with -->.

Syntax for comments are as follows: 

<!--Comments-->

(v) An XML document with correct syntax is called "Well Formed".

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...