creating a web Page on a Pc - HACK.ME
Trending
Tuesday, February 17, 2015

creating a web Page on a Pc


To create your first web page on a PC, start up Notepad. You can find this by going to:
Start  All Programs (or Programs)    Accessories      Notepad
You might also like to download a free editor called Notepad++ from notepad-plus-plus.org.

Type the code shown on the right.
<!DOCTYPE html>
<html>
<head>
  <title>Page Title</title>
</head>

<body>

  <h1>This is a Heading</h1>

  <p>This is a paragraph.</p>

</body>

</html>


Go to the File menu and select Save as... You will need to save the file somewhere you can remember. If you like, you could create a folder for any examples that you try out from this blog.

Save this file as first-test. html. Make sure that the Save as type drop down has All Files selected.

Start your web browser. Go to the File menu and select Open. Browse to the file that you just created, select it and click on the Open button. The result should look something like the screen shot to the left.

If it doesn't look like this, find the file you just created on your computer and make sure that it has the file extension .html (if it is .txt then you need to go back to Notepad and save the file again, but this time put quote marks around the name "firsttest.html").










creating a web Page on a Pc Reviewed by Vipula Dissanayake on 1:44:00 AM Rating: 5 To create your first web page on a PC, start up Notepad. You can find this by going to: Start  All Programs (or Programs)    Accessor...

No comments: