Wednesday, 1 April 2015

HOW TO MAKE A SIMPLE HTML WEB PAGE?

HOW TO MAKE A SIMPLE HTML WEB PAGE?


1.    <html>
2.    <head>
3.     <title> Page Title </title>
4.    </head>
5.    <body>
6.    <h1> My First Heading </h1>
7.    <p> My first paragraph. </p>
8.    </body>
9.    </html>


First of all you should write these codes in your notepad text editor window. Then save it with html dot extension(eg. MyFirstWebPage.html).





Then the result will be



 Every HTML page is enclosed with - <html> </html> tags. The texts between these two tags describe the HTML document.  Within these two tags we can see <head> </head> tags. These tags describe information about the document. In this head tag we can see <title> </title> tags. The texts between them describe the title of the document. The text between <body> </body> tags describes the visible page content. The text between <h1> </h1> tags describes a heading and <p> </p> tags describes the paragraph.

Structure of HTML






No comments:

Post a Comment