Popular

HTML TAGS

HTML is a Mark language and to markup the contents on web page we use various commands called Tags. Tags are instructions that are embedded directly into the text of a HTML document. Each HTML tag specifies some action that the browser should in displaying the text on web page. HTML tag begins with opening tag and end with closing tag.

There are two types of HTML tag:

  • Paired Tag
  • Unpaired Tag

Paired Tag: It is also called container tag. A tag is said to be a paired tag if the text is placed between a tag and its companion tag.

Syntax:

<tag_name> content </tagname>

Example:

<html> … </html>

Unpaired Tag: It is also called singular or stand-alone tag. An unpaired tag does not have a companion tag.

Syntax:

<tag_name>

Example:

<br> , <hr>

Share this article
Shareable URL
Prev Post

Disadvantages of HTML

Read next

HTML Introduction

HTML or Hyper Text Markup Language as the name composed of two parts: HTML is a standard language for building…

Advantages of HTML

HTML is the most commonly used language used to create web pages. following advantages makes it favorite among…