Introduction to HTML

HTML Introduction

HTML stands for Hyper Text Markup Language. It is a standard markup language for web that defines the structure of a web page.

HTML consists of various elements or series of elements.
It tells the browser, how to display content on the browser.


HTML was created by Tim Berners-Lee in 1991.

The current version of HTML is HTML5.


Now, take a look at simple HTML document

        
<html>
<head>
    <title>Page Title</title>
</head>
<body>
    <h1>This is heading</h1>
    <p>This is paragraph</p>
</body>
</html>
        
    

Output of this HTML document will look like this


HTML code explained :

<html> is root element of a web page.

<head> this tag contains meta information about the HTML page.

<title> it shows the title of the HTML page.

<body> it is container for all the visible contents such as heading, paragraph, image, links etc.

<h1> is the heading element.

<p> is the paragraph element..

Post a Comment

1 Comments