Your first webpage

Starting a website can be easier than you think. Websites are made up of webpages which are written in HTML. HTML is a set of codes used to build webpages. HTML stands for hyper-text markup language, which is crazy talk for a language that web browsers understand.
This is about as simple as the coding gets:
That's the code to write a web page that says "My first webpage" in the broswer tab at the top of the screen. Other than that, it's just a white background with black letters that say "Hello crazy world!". White is the default background color and black is the default text color. It looks like this:

HTML code is made from tags, which are just special code words inbetween 2 of these brackets: < >. So you basically have 4 tags in this code: html, head, title, and body.

<html> </html>
The first part of the code is the <html> tag. It tells the web browser that everything after it is written in HTML code. The HTML code ends at the bottom with the end tag </html>. So everything between <html> and </html> is html code.

<head> </head>
The next tag is <head>. The head is the mostly-invisible part of the webpage that gives more information about it.

<title> </title>
Another tag inside the head is the <title> tag, which puts the title of your webpage at the top of the web browser. You put the title between <title> and </title>.Then the head of page ends with </head>. Sometimes you'll want to put more codes in the head that give your page a description, keywords, and a document type, but none are absolutely needed to create a functional page at this point.

<body> </body>
The real meat of the page is put between <body> and </body>. You can just type text right between and it will show up on the webpage. You can also put in codes to show pictures, forms, or whatever else you want to share.

You don't need fancy software to create this webpage. Any text editor will do. On a Windows computer you can simply use notepad. Open it up and copy the code above into it. You can save your basic web page with file extension ".html" or ".htm" (don't include the parentheses). There's no real difference, so I'd say go with ".htm". Why add an extra letter if you don't have to?

Then you can open the file in whatever web browser you use. The most common browsers are Internet Explorer, Chrome, Firefox, Safari, and Opera. You can view the webpage on your computer but it is not on the world wide web. In order to do that, you would have to buy a domain name (like and host the page on a server that you rent or buy. A server lets people share web pages on the internet.

submit to reddit

More: HTMLheadbody

Source: Seth | 2012-05-09

Recent Posts:

Repeating background image

Don't forget to comment your work

Layout your webpage using divs

Link it together

Images- the img tag