comment Add Comment
Posted on Last updated


Hello, and welcome to the fifth unit of this HTML Course. In this unit, we are going to look at some common html tags. If you could remember, I said in the first lesson that HTML uses mainly markup tags. This unit gives you some common tags used in HTML and how to use them. So let’s begin. For the purpose of this unit we will cover four of these tags in detail and some few others in tabular form.

The Heading Tags

There are six heading tags used in HTML. These are:

Heading Tags Appearance
<h1>First Heading Tag</h1>

First Heading Tag

<h2>Second Heading Tag</h2>

Second Heading Tag

<h3>Third Heading Tag</h3>

Third Heading Tag

<h4>Forth Heading Tag</h4>

Forth Heading Tag

<h5>Fifth Heading Tag</h5>
Fifth Heading Tag
<h6>Sixth Heading Tag</h6>
Sixth Heading Tag

As  you see in the table above, the headings decrease sizes fro  h1 to h6.

Please note that there is a difference between the bold <b></b> tag and the heading tags.

Common HTML Tags

The table below gives some of the HTML tags and their description:

Tag Description
<p></p> For writing paragraphs
<title></title> For defining the document title
<body></body for defining the body of the document
<br/> for breaking a line
<b></b> For bolding text
<i></i> For italicing text
<em></em> For emphhasizing on text
<address></address> For defining an address
<pre></pre> For writing preformatted text
<strong></strong> For making the text strong
<code></code> For writing texts that appear as codes
<html></html> For defining an HTML Document

Other HTML Tags from

<!–…–> Defines a comment
<!DOCTYPE> Defines the document type
<a> Defines a hyperlink
<abbr> Defines an abbreviation or an acronym
<acronym> Not supported in HTML5. Use <abbr> instead.
Defines an acronym
<address> Defines contact information for the author/owner of a document
<applet> Not supported in HTML5. Use <embed> or <object> instead.
Defines an embedded applet
<area> Defines an area inside an image-map
<article> Defines an article
<aside> Defines content aside from the page content
<audio> Defines sound content

Leave a Reply

Your email address will not be published. Required fields are marked *