HTML Terminology

It’s important to use terminology correctly when talking about HTML; it helps avoid confusion when everyone uses the same words for the same concepts. The following diagram shows the basic terminology of HTML.

diagram of an HTML element

From this diagram, we see that a tag and an element are not the same thing. An element includes the start tag, end tag, and all the content in between. Although many people (and books) use the terms interchangeably, you should not!