Introduction to HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages.
HTML was created by Berners-Lee in late 1991 but “HTML 2.0” was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012.
As its name suggests, HTML is a Markup Language which means you use HTML to simply “mark-up” a text document with tags that tell a Web browser how to structure it to display.
Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers.
Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.
HTML Document have two basic sections Head and Body or content section
html Basic Tags
|<!DOCTYPE…>||This tag defines the document type and HTML version.|
|<html>||This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.|
|<head>||This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.|
|<title>||The <title> tag is used inside the <head> tag to mention the document title.|
|<body>||This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.|
|<h1>||This tag represents the heading.|
|<p>||This tag represents a paragraph.|
Below is the example using these html Tags
<title>This is document title</title>
<h1>This is a heading</h1>
<p>Document content goes here…..</p>
Either you can use Try it option available at the top right corner of the code box to check the result of this HTML code, or let’s save it in an HTML file test.htmL using your favorite text editor. Finally open it using a web browser like Internet Explorer or Google Chrome, or Firefox etc. It must show the output: