This short tutorial is about how you can change your file on Notepad from text file to webpage.
To save your code as a web page, click on the file menu at the top of Notepad (or whatever text editor you are using), from the file menu, click on the option Save as. The save as dialogue box appears.

Note that the default extension at the bottom, under "save as type" it says, Text Document(*.txt). It mean if you leave it like that, then you won't have web page, you will have a text file.

Now click on the drop down list and change it to All file. But if what you are using is Text editor on Mac, just type firstwebpage.html  in the save a box.
Make sure that all the letters are in lowercase, though this is not strictly necessary, but it recommended. Also, try not to add spaces to webpage names as this could cause problems.
You can use underscores or hyphens.
Take a look at the examples below;

       • first_web_page.html
       • first-web-page.html

But these two should be avoided;

       • First web page.html
       • FirstWebPage.html

Do you notice any change or difference between the two examples above.

When you are done, click on the Save botton and you will have a HTML page that can be display in a browser.

In our next update, you will see how to view your webpages.

Hope this is helpful?

Don't forget, you can like us on facebook, follow us on Twitter and on Google+.

0 comments:

Post a Comment

Popular Posts