XML Multiple choices


Total available count: 49
Subject - Web Development
Subsubject - XML

What do empty tags indicate in XML?


 

 

 

 



B


Solution:-

XML empty elements. An empty element is an element that is complete by itself; it never contains other elements. Rather than being composed of a start tag, data, and an end tag, the empty element is a combined start and end tag.

Empty XML Elements An element with no content is said to be empty. 
In XML, you can indicate an empty element like this: 

<element></element>

or you can use an empty tag, like this (this sort of element syntax is called self-closing): 

<element />

The two forms above produce identical results in an XML parser.




Next 5 multiple choice(s)

1

Can we have empty tags in XML?

2

Find the true statement?

3

One more which is not a correct name for an XML element?

4

Another one which is not a correct name for an XML element?

5

Which XML DOM object represents a node in the node tree?

Comments