Developer Forums | About Us | Site Map
Search  
HOME > TUTORIALS > CLIENT SIDE CODING > HTML TUTORIALS > THE BASICS OF HTML


Sponsors





Useful Lists

Web Host
site hosted by netplex

Online Manuals

The Basics of HTML
By Ben Sinclair - 2003-01-04 Page:  1 2 3 4 5 6 7 8 9

The Bold, Italic And Underlined Tag



You already know what these tags are from the first page:

Bold Text - <b>

Italic Text - <i>

Underlined Text - <u>



Linking Text And Images


This is how you link text to a page:

<a href="page.html">Link Here</a>

This is how you link text to a website:

<a href="http://www.domainname.com">Link Here</a>

This is how you link an image to a page:

<a href="http://www.domainname.com"><img src="pic.gif></a>

And this is how you link to an email message:

<a href="maito:someone@someplace.com">Click here to email me!</a>

And don't forget the </a>



Changing Background Color and Images


This is how you change the background color to a different color:

<body bgcolor="blue">

And this is how you change the background to an image:

<body background="pic.gif">

Note: The above code is put in with the body tag.



Assignment #4


Today's assignment is to find out what is wrong with the HTML below and correct it on your own page.

<html>
<head>
<title>My first HTML page</title>
</head>
<body bccolor="yellow">
<p align="righ.t"><a hef="page.html">
<font color=red">Hello everybody!<font></a>
<hr widh="10%" color="blu>
</body>
</html>


Click Here for the answer.


View The Basics of HTML Discussion

Page:  1 2 3 4 5 6 7 8 9 Next Page: List Tags


Copyright 2004-2024 GrindingGears.com. All rights reserved.
Article copyright and all rights retained by the author.