Introduction to HTML

Introduction to HTML

HTML (Hypertext Markup Language) is used to create document on the World Wide Web. It is simply a collection of certain key words called ‘Tags’ that are helpful in writing the document to be displayed using a browser on Internet. HTML was developed by Tim Berners-Lee in 1992.

  • HTML is used for creating a web page
  • HTML is not a programming language it is Markup language.
  • HTML is not case sensitive i.e. we can write code in lower or upper case.
  • Tags are basic building block of HTML


Creating a HTML document

The essential tags that are required to create a HTML document are:





Tags are instructions that are embedded directly into the text of document. Html Tags are signals to a browser that should do something other than just through text upon the screen.All HTML tags begin with an open angle bracket (<) and end with close angle bracket (>).

HTML tags can be two types:-

  • Paired Tag (Container)

  • Singular Tags (Empty)

Container Tags: Tags which have both the opening and closing i.e. <TAG> and </TAG> are called container tags. They hold the text and other HTML tags in between the tags. The <HTML>, <HEAD>, <TITLE> and <BODY> tags are all container tags.


<TAG> this is a container tag. It holds both the text and HTML tag </TAG>

Empty Tags: Tags, which have only opening and no ending, are called empty tags. The <HR>, which is used to draw horizontal, rule across the width of the document, and line break <BR> tags are empty tags.

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Website development Company in Allahabad Sarkari Exam Quiz