For example , in XHTML , the root element is < html > , being the first element opened ( after the doctype declaration ) and last closed .
In XML , the root element that represents the document is the first element in the document .
In XHTML , the element   is < html > , being the first element opened ( after the doctype declaration ) and last closed .
In XML , the root element that represents the document is the first element in the document .