Types of HTML Tags

mr deepak
1 min readMay 25, 2021

There are different types of tags in HTML language. Each Tag is used to define different Elements.

There are two types of HTML tags:

  1. Paired Tag / Container tag
  2. Unpaired Tag / Empty tag

1. Paired Tags

Paired tags are those HTML tags. Those which are written in Pair ie Pair. A Paired Tag has two parts.

The first is the Opening Part. Which is written like this.

The second part is the Closing Part. This part is written after the content. This part is thus defined.

Most of the tags in HTML are Paired, Tag. But, like everything, there are exceptions — Unpaired Tag.

2. Unpaired Tag

Unpaired Tag is also called Singular HTML Tag. These tags are alone. Singular Tag is not a companion tag. In an Unpaired Tag, the Opening Part and the Closing Part are written simultaneously. This is how a Singular Tag is defined in an HTML Document.

Originally published at https://www.mrdeepak.com.

--

--

mr deepak

I Am a Full Stack Web Developer With 5+ Years of Extensive Experience in Global Software Industry.I Have Delivered Scalable Applications, Large & Complex Websit