What is HTML?

HTML is the basic foundation for a website. Its stand for Hyper Text Markup Language. HTML is used because a plain text file appears nicely formatted in a browser.

  • Hyper Text means a text that you click to jump from one webpage to another webpage. In one word Hyper Text is a way to connect with different web pages.

  • Markup Languale is a language that apply layout and formatting conventions to plain text. It is a collection of markup tags which are used to describe webpages.

Why HTML?

HTML is the core foundation of all webpages. Without HTML it is not possible to customize a website properly. Because of HTML the webpages are interesting to look at. HTML is also very important for search engine optimization. In a word for building a website, for designing the contents properly and for giving a wonderful outlook to a website HTML is needed.


History of HTML

In 1989, physicist Tim Berners-Lee wrote a memo proposing an internet-based hypertext system. He specified it as HTML and finally wrote the browser and server software in late 1990.

The first publicly description of HTML was a document called "HTML Tags". It was first mentioned by Tim Berners-Lee in late 1991.

HTML is a markup language that web browsers use to interpret and compose text, images, and other material into visual or audible web pages.


An Example of HTML

<! DOCTYPE html>
<html>
<head>
<title> Page Title </title>
</head>
<body>

<h1> This is a Heading. </h1>
<p> This is a paragraph. </p>

</body>
</html>

Run Example

Description of the Example:

DOCTYPE: It is not an HTML tag. A doctype defines which version of HTML/XHTML a document uses.

html: It is the root of the html document. It tells the browser that this is an HTML document

head: It is used to contain all the head element in the html file. It contains the meta, title, link, style etc tags.

title: It is used to define the title of the document which is found at the top of the browser window.

body: It contains the entire content of a page. It is required in every HTML document and there are only one <body> tag per page.

h1: It is called heading tag. there are six heading tags in HTML. Heading tags are used to define the heading of html document.

p: It is called paragraph tag. It is used to define paragraph content in HTML document.


Versions of HTML


Version Year of released
HTML 1.0 1991
HTML 2.0 1995
HTML 3.2 1997
HTML 4.0 1998
HTML 4.01 1999
XHTML 2000
HTML 5 2014