What is HTML ? What are its advantages ?


In this topic, you will learn about, What is HTML? What are its advantages?

What is HTML?

HTML: HTML is an acronym that stands for HyperText Markup Language which is used for creating web pages and web applications.

HyperText: Hypertext simply means “Text within Text.” A text that has a link within it, is a hypertext. Whenever you click on a link that brings you to a new webpage, you have clicked on a hypertext. Hypertext is a way to link two or more web pages (HTML documents) with each other.

Markup language: A markup language is a computer language that is used to apply layout and formatting conventions to a text document. Markup language makes the text more interactive and dynamic. It can turn text into images, tables, links, etc.

Web Page: A web page is a document that is commonly written in HTML and translated by a web browser. A web page can be identified by entering an URL. A Web page can be of the static or dynamic type. With the help of HTML only, we can create static web pages.

It is the set of markup symbols or codes inserted in a file made for display on a World Wide Web browser page. The current version of HTML is HTML 5.The markup tells the Web browser how to display a Web page’s words and images for the user. Each individual markup code is referred to as an element. Some elements come in pairs that indicate when some display effect is to begin and when it is to end.

Hence, HTML is a markup language that is used for creating attractive web pages with the help of styling, and which looks in a nice format on a web browser. An HTML document is made of many HTML tags and each HTML tag contains different content.

Example of HTML

1. <html>
2. <head>
3. <title>Web page title</title>
4. </head>
5. <body>
6. <h1>Write Your First Heading</h1>
7. <p>Write Your First Paragraph.</p>
8. </body>
9. </html>

Description of HTML Example

<!DOCTYPE>: It defines the document type or instructs the browser about the version of HTML.

<html>: This tag informs the browser that it is an HTML document. The text between the HTML tags describes the web document. It is a container for all other elements of HTML except <!DOCTYPE>

<head>: It should be the first element inside the <html> element, which contains the metadata(information about the document). It must be closed before the body tag opens.

<title>: As its name suggested, it is used to add the title of that HTML page which appears at the top of the browser window. It must be placed inside the head tag and should close immediately. (Optional)

<body>: Text between body tags describes the body content of the page that is visible to the end-user. This tag contains the main content of the HTML document.

<h1> : Text between <h1> tag describes the first level heading of the webpage.

<p> : Text between <p> tag describes the paragraph of the webpage.

Brief History of HTML

In the late 1980s, a physicist, Tim Berners-Lee who was a contractor at CERN, proposed a system for CERN researchers. In 1989, he wrote a memo proposing an internet-based hypertext system.

Tim Berners-Lee is known as the father of HTML. The first available description of HTML was a document called “HTML Tags” proposed by Tim in late 1991. The latest version of HTML is HTML5, which we will learn later in this tutorial.

HTML Versions Since the time HTML was invented there are lots of HTML versions in the market, the brief introduction about the HTML version is given below:

HTML 1.0: The first version of HTML was 1.0, which was the barebones version of HTML language, and it was released in1991.

HTML 2.0: This was the next version which was released in 1995, and it was the standard language version for website design. HTML 2.0 was able to support extra features such as form-based file upload, form elements such as text box, option button, etc.

HTML 3.2: HTML 3.2 version was published by W3C in early 1997. This version was capable of creating tables and providing support for extra options for form elements. It can also support a web page with complex mathematical equations. It became an official standard for any browser till January 1997. Today it is practically supported by most browsers.

HTML 4.01: The HTML 4.01 version was released in December 1999, and it is a very stable version of the HTML language. This version is the current official standard, and it provides added support for stylesheets (CSS) and scripting ability for various multimedia elements.

HTML5 : HTML5 is the newest version of HyperText Markup language. The first draft of this version was announced in January 2008. There are two major organizations one is W3C (World Wide Web Consortium), and the one is WHATWG( Web Hypertext Application Technology Working Group) which is involved in the development of the HTML 5 version, and still, it is under development.

Features of HTML

  1. It is a very easy and simple language. It can be easily understood and modified.
  2. It is very easy to make an effective presentation with HTML because it has a lot of formatting tags.
  3. It is a markup language, so it provides a flexible way to design web pages along with the text.
  4. It facilitates programmers to add a link on the web pages (by HTML anchor tag), so it enhances the interest of browsing of the user.
  5. It is platform-independent because it can be displayed on any platform like Windows, Linux, and Macintosh, etc.
  6. It facilitates the programmer to add Graphics, Videos, and Sound to the web pages which makes it more attractive and interactive.
  7. HTML is a case-insensitive language, which means we can use tags either in lower-case or upper-case.

Advantages of HTML :

  1. It is used to design web page layouts.
  2. HTML language is very easy to design.
  3. HTML executes directly without a compiler or interpreter.
  4. It designs a web-based application that can be run on the internet. Eg:- web page.
  5. It also supports some scripting language and provides an interface to specify code.

Also, Read: The relation between HTML and Applet?

Comment below if you have queries related to the above article, What is HTML? What are its advantages?


Please enter your comment!
Please enter your name here