Easy HTML tutorial

HTML TUTORIAL


Lesson 2:

In  this lesson I will  show you a few more tags and their functions

<HEAD> text  between these tags doesnt appear on the page but they are still very important </HEAD>

<TITLE> This displays the title of your page on the blue bar at the top of your browser.

these tags are placed between the HEAD tags</TITLE>

<CENTER> any thing between these tags will be centered on the page</CENTER>

<HR> this tag draws a horizontal line accross the page. this tag does not need to be closed at the end like the other tags.

<BR> this puts a space between 2 lines.

 

Now try typing up this page:

<HTML>

<HEAD>

<TITLE>My Cool Web Page</TITLE>

</HEAD>

<BODY>

<CENTER><H1>My Cool Web Page</H1></CENTER>

<HR>

<P>Welcome to my cool web page which I made with the help of The EASY HTML tutorial.</P>

</BODY>

</HTML>

When you have it typed save it as coolpage.html.

 

HyperLinks

To add a hyperlink to a page you use the <A></A> tags.

If you wanted to link to the Irish Times you would write it like this

<A HREF="http://www.ireland.ccom">Irish Times</A>

Now we will add this to the page;

 

<HTML>

<HEAD>

<TITLE>My Cool Web Page</TITLE>

</HEAD>

<BODY>

<CENTER><H1>My Cool Web Page</H1></CENTER>

<HR>

<P>Welcome to my cool web page which I made with the help of The EASY HTML tutorial.</P>

<P>Check out my favourite site, <A HREF="http://www.ireland.ccom">Irish Times</A></P>

</BODY>

</HTML>

Save this as coolpage.html and then try it out.

 

HOME Tutorial Next Lesson Previous Lesson