The Basics of HTML
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>
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>
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.
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 TagsReprinted from http://www.webmaster-resources101.com