banner

Starting HTML


The main tag is <HTML>..............</HTML>. Within this tag comes other tag but no tag set outside of this tag.

Example:-

<HTML>
..........
..........
</HTML>


Example:-

<html>
<body>

<h1>Heading</h1>

<p>paragraph</p>

</body>
</html> 

     Here second tag is <BODY>..................</BODY>. Where we code to design and set text information to view by the user.

     Between the <HTML> and <BODY> tag comes <HEAD>..........</HEAD> tag which set title of page within <TITLE>........</TITLE> tag and we can wrote function and java script here with in <STYLE>.............</STYLE> tag.

Example:-

<html>
<head>
<title>My Title</title>
<style>
</style>
</head>
<body>

<h1>Heading</h1>

<p>paragraph</p>

</body>
</html>