Elements are complete building blocks of any XML document. An element includes everything from the start tag to the end tag. It may contain other individual elements along with texts and attributes.