An HTML document is made up of different HTML elements. Each HTML element typically has three parts:
- Opening tag
- Content
- Closing tag
Let us take the example of an <h1>
element:
The <h1>
at the beginning is called the opening tag, the Hello, World! text is the content and the </h1>
at the end is called the closing tag.