My First Webpage

So you would like to learn how to make a webpage. Well it's really quite easy actually. All you need is a text editor like Notepad and a web browser like Firefox or Internet Explorer and you're good to go!

I'm assuming most of us are using a Windows operating system. For those who aren't it's pretty much the same idea just different program names and where to find them. Click your Start button and go to Programs > Accessories > Notepad.

You should have a blank page. Copy and paste the following into the page:

<html>
<head>
<title>My First Webpage</title>
</head>
<body>
This is my first webpage!
</body>
</html>

Now you have to save your page. Go to File > Save As. Name the file something like myfirstpage.htm. Make sure the "Save As Type" is set to All Files and not Text Documents. Remember what folder you saved it in!

Now open your web browser. Go to File > Open and find the folder you saved your webpage in. Choose the webpage you just saved called myfirstpage.htm. The web browser will load your page. Congratulations, you just made your very first webpage!

Now let me explain all those words above you just copied and pasted. Webpages are written in a language called HTML, which stands for HyperText Markup Language. Basically, you use tags to tell the browser what to display. So to begin, you need to tell the browser this is actually an HTML page so you have the <html> tag to start.

The next part is the <head> section which contains the title of the page. There's a lot more that can go in the <head> section but we won't get into that here. Look at the webpage you just created. At the top left of the browser is the title which should read My First Webpage. Why does it say that? Because that's what's typed in between the <title> </title> tags.

The next part is the <body> </body> tags. Everything between these two tags is the actual content of the webpage. You should see the words "This is my first webpage!" The page ends with the </html> tag so the browser knows that the page is done.

Well that's it for your first webpage!

More Miscellaneous Tutorials