small-expressions.com

HTML Tutorial by David K. Small ©

Code for Lesson 2, Sample Page (page02.htm)


Note:

Remember to save the background image blueback.jpg
in the same folder as your own sample page02.htm page
otherwise you will just have a white or grey background.

Your line spacing does not have to be
the same as shown below.

For your convenience, I have shown all the tags in blue.

The code begins below this line.


 

<HTML>

<HEAD>

<TITLE>My Second Web Page</TITLE>

</HEAD>

<BODY BACKGROUND="blueback.jpg">

<CENTER>

<P>This is your <B>second web page</B> example.</P>

<P>Now you see a textured background.</P>

</CENTER>

<P>To save this background so you can use it for Lesson Two, right click somewhere on the page (not on type). A popup window will open. Select <B>Save Background As...</B> the file name will be <B>blueback</B> and the file type should be <B>JPEG</B>. Make sure you save this image in the same folder as your lesson files.</P>

</BODY>

</HTML>