|
The main building blocks of both XML and HTML documents are Elements.
Examples of HTML elements are "body" and "table".
Examples of XML elements could be "note" and "message".
Elements can contain other elements(child elements), text, or be empty.
Examples of empty HTML elements are "img", "br" and "hr".
An element is made up of a start and end tag with data in between.
The tags describe the data. The data is called the value of the element.
|