Attributes in XML indicate
Attributes in XML indicate
Aa way of attaching properties to elements
Bthe elements
Cchild nodes
Ddocuments.
All DiscussionsClick here to write answer
Answer : a way of attaching properties to elements
Explanation:
Attributes are part of the XML elements. An element can have multiple unique attributes. Attribute gives more information about XML elements. To be more precise, they define properties of elements. An XML attribute is always a name-value pair.
Syntax
An XML attribute has following syntax:
<element-name attribute1="" attribute2="">
....content..
< /element-name>
example:
<garden>
<plants category="flowers"/>
<plants category="shrubs">
</plants>
</garden>
so Attribute is a way of attaching properties to elements
All Comments
Post your answers here:
Post