Consider the XML document and answer the following questions:
<?xml version = "1.0"?>
<customer name = "Amy">
<address>
<addl> 13 Mahavir Enclave, South Ext. </addl>
<city> Delhi </city>
<country> India </country>
</address>
s/customer
a. What is the use of the first line of code?
b. Name the element that has an attribute in the above code?
c. Name the root element in the code.
d. List the child elements of <address).
Answers
Answered by
4
Answer:
a. It defines the XML script version.
b. <customer> element has an attribute.
c. The root element is <?XML>.
d. 1. <addl>
2. <city>
3. <country>
Similar questions
India Languages,
4 months ago
History,
4 months ago
English,
4 months ago
Hindi,
8 months ago
English,
10 months ago
CBSE BOARD X,
10 months ago