html lesson 1

Your very first webpage

Ok let's get started making your first web page.
First off, make a new folder iether on your desktop (right click on your desktop, choose "new" then choose "folder") or in your my documents folder, it doesn't really matter where, just make one and name it mywebsite_root.
We'll be refering to this folder throughout the following tutorials as your "root directory" and this is where we will be saving and keeping all the files for our website.

Next open up a new blank document in notepad(if you need help with this click here).

Don't use microsoft word or other office word processing programs as they are designed for writing letters and documents for people to read so all the spellchecks and grammar checking stuff will mess up your code. We're writing a document for computers to read, not people.

Ok, now you have a new notepad document open, type the following strange looking code into it.

<html>
<head>
<title> My first webpage!! </title>
</head>
<body>
<h1> Welcome to my first web page!!!! </h1>
<!-- invisibility rocks!! //-->
<font color="red">Yay!!! I can make my own web pages!!!!</font><br />
<b>I'm now on my way to geekdom!!</b>
</body>
</html>

Don't worry too much, it won't look strange for long I promise! Now once you've done that, save the document in your root directory as myfirstwebpage.html.
Now close the file, go into your root directory and double click your myfirstwebpage.html file. Congratulations!!! You've made your first web page!!
You can see an example of what it should look like here, if it doesn't look the same, make sure you have copied the above code exactly and make sure your file name ends with .html.

This web page you've just made, and many more that will come to follow will also be refered to as "html" files and html file names should always end with the extension ".html"


To continue on to the next lesson and find out what the heck you've just done, and what on earth html is click here.