Introducing HTML Elements

Standard HTML Elements

HTML is made up of a variety of elements, also known as "tags". Most elements follow this format:

A graphic explaining html elements

Notice how there is both an opening and closing part of the tag. The closing tag includes a forward slash at the beginning.

A simple example:

<p>This is a paragraph.</p>

Self Closing HTML Elements

Some HTML elements (like img and br) don't have their own content. These are known as self closing tags or empty tags. They look like this:

A graphic explaining html tags

A simple example:

<br />

The br tag inserts a line break (not a paragraph break). This tag has no content, so it is self closing.