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.
- Each tag has an opening tag and the closing tag.
- There are few tags which do not have closing tags and they are called empty tags.
- 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.