HTML Tutorial

HTML is simple so start now.
You want to see simple HTML, now is your chance. What you need to do is to see it work right away. Tags are text between open and closing brackets.

Simple copy and paste the code below that’s between the dotted lines into notepad and save the file to your desktop as mypage.html then open it by double clicking it.
-----------------------------------------------
<html>

<h1> My Website</h1>

<body>

I want to put all the main content that is to be seen on this website, between the body tags.

</body>

</html>
-------------------------

All that’s happened is that you have created a html page that has enclosed everything between the <html> tags and the last tag has a slash / to show it’s the closing tag. The <h1> tag changes the size of the text and if you change the number from 1 to 5 the text will get smaller.

Simple isnt it. Now if you use this file and create more from it by just giving them different names you will have multiple pages. All you have to do then is put links in them see below.

Just copy and past this code below and put it below the top html tag in each file and save. Remember to use the same file names as the ones in the links below.

<a href="page1.html"> Page 1</a>

<a href="page2.html"> Page 2</a>

<a href="page3.html"> Page 3</a>

Thats it your off and running.

More on HTML Beginners: AdviceAll.

By Padraig MacGiolla
Published: 8/31/2009
 
Use the feedback form below to submit your comments.
Your Comments:
Your Name:
Use the form below to email this article to your friends.
Recipient Email Address:
 Separate multiple email addresses by ;
Your Name:
Your Email Address: