HTML-Lesson 2-Your fist webpage

Now you have the notpad window up you are ready to build your first webpage. Every webpage is defined as an html document and then split into two component parts -head and body- To make your website look profffesional you must also have a title. Use the following code:

<html>
<head>
<title>My first webpage</title>
</head>
<body>
<marquee>This is my first webpage</marquee>
</body>
</html>
		

Once you have typed this into the notepad you should save it as index.html and make sure that the save as type is set to All files. This should make your document appear as an html document. Now when you view it you will see it in a browser with moving text. Congratulations, you have just created your first webpage!! Now its time to make it better. Go to lesson 3 to find out more.


Lesson 1-Getting started

Lesson 3-Tags