HOW TO CREATE AN HTML DOCUMENT

To create an HTML document we can type the text in any word processor, like word pad , note pad.  The extension given to the page is always .html. Let us see how to open and create document using notepad:-

Open Notepad by clicking on Start > All programs> Accessories >Notepad.

The notepad window will appear

Type the HTML code as shown below:-

           
 

Click on File >Save menu option. The Save As dialog box appear. Select the folder which you want to save and mention the name in File name text box with an extension .html.

           
             

Click on the save button.

VIEWING AN HTML DOCUMENT

To view any HTML File ,we need a web browser like Internet explorer, google chrome. Here we are using Internet explorer as it is part of window operating system. To view your first web pages follow these steps:-

Click on Start > All program and choose Internet explorer option. The internet explorer Window will appear.

Click on File > open option. The open dialog box will appear, click on Browse button. A dialogue box will appear.

Chose the path where we want to store our HTML document and select our file.click on open button and then click on OK in the Open dialogue box.

Our web page will be shown in the web browser.

We can also observed that the text given within the <TITLE> tag is displayed on the title bar of the Internet  Explorer . and the Text within<BODY> tag is displayed in the body part of the Internet Explorer.

Just notice the Address bar of the Internet Explorer,the complete path of the filename with an extension “.html” is displayed here.