What is an HTML Element?

We will try to provide all information in both written and video forms. Use either or both depending on our learning style.

 
Video Block
Double-click here to add a video by URL or embed code. Learn more

HTML Web Pages are made of elements. Examples of HTML elements include paragraphs, headings, lists and more. HTML elements are all separated using identifying tags.

Tags use angle brackets like these < >. (In math you may call these greater or less than symbols.)

There is always an opening tag with a left angle bracket, the name of the element, and a right angle bracket: <p>

There is also usually a closing tag that tells the browser to END the element. The closing tag has a left angle bracket, a forward slash, the name of the element and a right angle bracket.

The text inside the opening and closing tags is called the content. The content is what shows up on the webpage. Your HTML tags should never be seen on your webpage.

<p>This is my paragraph</p>
 

Image 1: HTML in the IDE

Image 2: Published Webpage

 

Exercise 2: What is an HTML Element?