An HTML element is an individual component of an HTML document. HTML documents are composed of a tree of HTML elements and other nodes, such as text nodes. Each element can have attributes specified. Elements can also have content, including other elements and text. HTML elements represent semantics, or meaning. For example, the element represents the title of the document. In the HTML syntax, most elements are written with a start tag and an end tag, with the content in between.