XML Multiple choices


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

Can we have empty tags in XML?


 

 

 

 



A


Solution:-

Empty XML Elements: 
An element with no content is said to be empty. 

In XML, you can indicate an empty element like below: 

<element></element>

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

<element />

In an XML parser, the two forms above produce identical results."




Next 5 multiple choice(s)

1

Find the true statement?

2

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

3

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

4

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

5

What is an XML instance?

Comments