HTML stands for Hyper Text Markup Language. It is a formatting language used to define the
appearance and contents of a web page. It allows us to organize text, graphics, audio, and video on a
The word Hypertext refers to the text which acts as a link.
The word markup refers to the symbols that are used to define structure of the text. The markup
symbols tells the browser how to display the text and are often called tags.
The word Language refers to the syntax that is similar to any other language.
HTML was created by Tim Berners-Lee at CERN.
Tag is a command that tells the web browser how to display the text, audio, graphics or video on a web
Tags are indicated with pair of angle brackets.
They start with a less than (<) character and end with a greater than (>) character.
The tag name is specified between the angle brackets.
Most of the tags usually occur in pair: the start tag and the closing tag.
The start tag is simply the tag name is enclosed in angle bracket whereas the closing tag is
specified including a forward slash (/).
Some tags are the empty i.e. they don’t have the closing tag.
Tags are not case sensitive.
The starting and closing tag name must be the same. For example <b> hello </i> is invalid as
both are different.
If you don’t specify the angle brackets (<>) for a tag, the browser will treat the tag name as a
The tag can also have attributes to provide additional information about the tag to the browser.
The following table shows the Basic HTML tags that define the basic web page: