Introducing HTML Elements

Standard HTML Elements

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

A graphic explaining html tags

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 tags (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.