Explain XML elements and attributes.
Answers
Answered by
3
:
Elements are the basic structure used to identify and store tags.
They are building blocks of an XML document and are represented by using tags.
Types :
- Root elements : It contains all the other elements in an XML document.
- Child element : Child element is an element that is contained within other elements.
- Empty elements : It doesn't contain any content or other elements within it.
:
An XML attribute is a proper of an element which provide additional information about the element.
Similar questions