Introduction to HTML

HTML stands for Hyper Text Markup Language  is a markup language used for creating web pages.

In HTML, we have various tags.

  1. Each tag has an opening tag and the closing tag.
  2. There are few tags which do not have closing tags and they are called empty tags.
  3. Tags can contain any number of attributes.

For Example:

The <p> </p> tag  => this is a paragraph tag.

The <h1> </h1> tag => this is a header tag.

The <hr> tag => this tag is used for creating a horizontal row.

Attributes are written in the opening tag.

For Example : class=" " , height=" " are few attributes of HTML tags.