Table of Contents

HTML Elements

An HTML element is essentially the same thing as a tag; however, when there is content inside of the tag it is often referred to as an element. Take a look at the example below:

This is a paragraph tag:


This is a pragraph element:

  <p>This is a paragraph</p>

Pretty straight forward right? The paragraph element has two main parts which include the tags <p></p> and the element content This is a paragraph. And together the tags and the content make an element.

Next, let's move on to talking about HTML attributes.