How to create, save and view an HTML document?


CREATING, SAVING AND VIEWING HTML DOCUMENT


For viewing HTML document we commonly uses these browsers like: Google Chrome, Microsoft Internet Explorer and many more.

For writing HTML coding we uses Notepad.

Creating and saving an HTML document using Notepad


    1)   Click start button then all programs then accessories then Notepad.
2)   Type your HTML code in the Notepad window.
3)   Save the code. Click on File and then save option.
4)   In the save as dialog box, select the target folder and type the file name with extension .html or .htm. like: first.html
5)   Click the save button.

 

Viewing an HTML pages


1)   Open your browser, that in which you want to see HTML pages.

2)   In the address bar, type the path of the HTML page that was created or click the file and then open option and your file or HTML page will be visible.
 
We use .html or .htm extension to save the HTML document.

We can use Google chrome browser to view HTML pages, as in this all codes will run easily than Microsoft Internet Explorer browser.
 

EXAMPLE

<html>
    <head>
      <title> WEBPAGE </title>
    </head>
  <body>
Hello!! Guys we are just studying about HTML. It is so easy and interesting language. Have fun!!
  </body>
</html>

OUTPUT

This output is viewed on Google chrome browser.




Comments

Post a Comment

Popular posts from this blog

Letter writing

Reason why?? pripyat has zero population till now!!

Poetic device