Let's Create A Website - Page 2


© Dianne Reuby
Page 2

Some names that you can use for your background colour:
white - hexadecimal FFFFFF
tan - D2B48C
lightcyan - E0FFFF
coral - FF7F50

Get a full list and colour-code chart in my free ebook, "Make Your Site Sticky" http://www.firstwebbuilder.co.uk/sticky....

background=" "
Browsers will repeat a small picture to fill the background.

link=" "
What colour do you want your links to be? The most common is blue - if you leave out this setting, it will default to blue.

vlink=" "
Visited links - you may have noticed that if you click on a link, and then return to the page, the link has changed colour. This can be useful to visitors if you have a long list of links -they can see which ones they've already visited. This setting tells your browser what colour to make those visited links. Purple is the default.

alink=" "
Links can change colour when you place your mouse cursor over them. This setting tells the browser what colour to display those links.

Let's add some of these to our BODY tag. I want my page to be tan, and my links sea-green, so here's my BODY tag:

<BODY bgcolor="tan" link="seagreen">
or with the hexadecimal codes:
<BODY bgcolor="#D2B48C" link="#2E8B57">

Change your BODY tag to the colours you want.

A very useful tag is the Comment:
<!-- Put a description of your code here -->

Use this to label your code and remind yourself what each bit is doing.

Let's type some text into the BODY:

Hello everyone!

Copy this, or use your own text - make sure it's between your BODY tags. Save your page again.

Let's look at it in our browser. Switch to your browser, and choose File, Open. Use the "Browse" button to find and open your file.

Congratulations - you've created your first web page!

Go To Page: 1 2


The copyright of the article Let's Create A Website - Page 2 in Website Creation is owned by . Permission to republish Let's Create A Website - Page 2 in print or online must be granted by the author in writing.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo