Computer Science, asked by amruthaprasad2652, 1 year ago

Explain XML elements and attributes.

Answers

Answered by Rememberful
3

\textbf{XML Elements }:

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.

\textbf{XML Attributes }:

An XML attribute is a proper of an element which provide additional information about the element.

Similar questions