Introduction

HTML influenced from SGML(Standard Generalized Markup Language) that uses many elements of SGML. HTML was invented by Tim Berners-Lee in late 1990 and first mentioned in public in October 1991. HTML stands for Hyper Text Markup Language that is used to create web pages, website and web applications to display in a web browser. Today is also helpful for game development. Using HTML we add many things to our web pages like text, images, videos, links, forms etc.

To write HTML code we need a text editor like notepad, notepad++, wordpad and so on, after writing the code we need to save the with its default extension .htm OR .html.

Each letter of HTML can be defined as below:-
H stands for Hyper: Hyper means something that is sensitive, means HTML is a sensible language that understands only American English. It does not display result with British English. It is also case sensitive with HTML list tags. HTML elements are known as HTML tags.

T stands for Text: HTML always deals with textual code with all its elements like images, links forms etc.

M stands for Markup: HTML marks the code in advance and tells that how the result will look like.

L stands for Language: HTML is a very simple computer language that is very easy to learn. One can enjoy by learning HTML. It is a very basic and starter language that helps to develop your mind to understand other languages.


Some points from the above description
Website: A website is collection of one OR more web pages.

Web Browser: It is a simple application software that helps to display web pages from world wide web and web server. Today it can also be used to display other file formats other than web pages like PDF files, videos and more.
A basic page structure of HTML can be defined as follows:

<!DOCTYPE html>
It is Document Type Declaration that is for HTML5.

<html>
It tells that HTML content has started.

<head>
It is start of HEAD tag that embeds many elements and scripts inside it like meta information, javaScript, PHP, CSS and more. It also embeds <title> tag.

<title>
This is start of TITLE tag that specifies a title for the HTML page that is displayed in web browser title bar and tab. Sometimes web browser is unable to display page content because of wrong spelling of TITLE tag OR bad format of TITLE tag.

</title>
This is end of TITLE tag and must be defined with HTML.

</head>
This is end of HEAD tag and must be defined with HTML.

<body>
This is start of BODY tag where all the visible page contents are defined. You must start <body> tag. Sometimes contents written under <head> tag are also visible but that is wrong method to write HTML code.

</body>
This is end of BODY tag and must be defined with HTML.

</html>
This is end of HTML tag and must be defined with HTML.

A basic code of HTML that is common for all web pages can be written as below:


HTML - Basic code example


<!DOCTYPE html>
<html>
<head>
<title>This is a title</title>
</head>
<body>

HTML contents and elements will be here

</body>
</html>
HTML - Basic code example This is a title HTML contents and elements will be here


To test in your computer write the above code in notepad save file and see the result.


HTML versions

HTML:  In 1990 and publicly released on October 1991

HTML 2.0: November 24, 1995

HTML 3: January 14, 1997 by W3C (the first version developed and standardized exclusively by the W3C, as the IETF had closed its HTML Working Group on September 12, 1996)

HTML 4: December 18, 1997

HTML 5.0: October 28, 2014

HTML 5.1: November 1, 2016

HTML 5.2: December 14, 2017