What is HTML?


HTML
What is HTML?


NEED FOR HTML: 

HTML was invented solely for the purpose of reducing the difficulty in accessing a network of computers in order to share information between universities, large businesses and governments which was extremely confusing in the early days of internet as in order to communicate one has to be well versed in computer terms, commands and acronyms.

SOLUTION BY HTML:

In order to solve the above mentioned problem a researcher named Timothy Berners-Lee and his colleagues working at CERN nuclear research facility near Geneva, Switzerland developed HTML for helping the researchers access the data located in the CERN network of computers.

In order to do so Timothy Berners-Lee came with a technology called Hypertext which is a method of organizing the data which are interconnected through a series of links called Hyperlinks.

Hyperlinks are used to move from one data source to another.

DEFINITION OF HTML:

H - HYPER

T - TEXT

M - MARKUP

L - LANGUAGE

HTML is called Hypertext Markup Language which is used for tagging distinct document elements and connecting them through hypertext links.

HTML is used to create web documents / web pages in a website with the help of markups tags.

HTML is not a case sensitive language and it is not a programming language.

HTML FILE: 

An HTML file is a text file (NOTEPAD) in which markup tags are written in order to instruct the web browser how the web page should be displayed.

The text file is saved with a extension called index.html

BASIC STRUCTURE OF HTML:

The basic foundation structure of HTML is based on the DOCUMENT OBJECT MODEL(DOM)

The DOM uses a common tree-like structure which is followed by all pages of the website.


DOCUMENT OBJECT MODEL

DOM TREE OF HTML




As you can see in the above picture the various markup tags follow a tree like structure divided into branches.

The basic structure of a HTML document is given below

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>

</title>

</head>

<body>

</body>

</html>

In between the above mentioned structure comes the large number of different types of semantic tags, attributes, images, audio, video and links which enhances the user experience.

There are various versions of HTML since its inception and the current version of HTML in use is HTML 5.2 which was launched in 2017.

You will know more about HTML in other pages of this website.