An HTML element is a specific item in an HTML document, such as a paragraph, emphasis, or heading. The html element is the document’s outermost element and the root of its element tree. section 2.1 section 7.6
Think of an element as a small instruction-and-content container:
- An opening tag uses angle brackets and an element name, such as <h1>. section 2.1
- A closing tag repeats the name with a forward slash, such as </h1>. section 2.1
- Together, the tags can contain text or other elements, while telling the browser how to display that content. section 2.1
A heading element
<h1>How New Words Are Created</h1> Here, h1 identifies the element, the opening and closing tags surround the text, and the browser displays it as a first-level heading. section 2.1
Figure 2.1 The structure of a typical HTML tag
Use the diagram to identify the element name and the angle brackets that form a typical HTML tag. section 2.1



