HTML Elements

An HTML element consists of a start tag (or opening tag), content contained within, and an end tag (or closing tag). Consider the following HTML syntax.

<htmltag>The content goes inside HTML tags</htmltag>


Here are some examples of commonly used HTML elements.


The following table explains the HTML examples shown above.

Start HTML Tag HTML Element Content End HTML Tag
<h1> The first heading and largest heading </h1>
<p> This HTML paragraph tag conent. </p>


Not all HTML requirements require an end tag. Examples of HTML elements such as HTML line breaks and HTML horizontal rules do not need an end tag.