We will be coding this
webpage. I will involve basic html, CSS, and possibly FTP.
Coding a Home Page
1. First off, we're going to code your home page. Take
this
layout, OR, if you want you can, read/follow
this
tutorial on how to make that layout.
2. Open up a new notepad document and name it index.html - This is your home page.
Now copy the code below in your index.html
Where it says Insert title here insert the title that you want to appear at the
top of the internet browser. (E.g. Internet Explorer, Firefox, etc.)
I decided to title mine '' * deep inside...''
3. Now we are going to place the layout onto your home page. (index.html)
Now, upload the layout (provided in step 1) onto your own server,
(photobucket, imageshack etc) then copy the code below in your index.html and paste
the url of the layout where it says LAYOUT URL HERE in the code.
In the code above, it means that you have positioned the layout in the top left hand corner of
your home page. Feel free to position the layout wherever you want. The code I gave you is just a
guideline to help you.
4. Now, we're going to set the index.html aside and finish it off later.
So now open up a brand new notepad document and name it style.css This is your CSS.
(cascading styling sheet)
You can read a tutorial on CSS
here. To help you, here are some of the main colours used in the layout. I recommend using
these colours to match your CSS.
Light blue (layout background colour)- #ABC8CE
Darker blue - #4F90AC
Pinky red - #AB375C
Dark Purple - #4D006D
After you have coded your CSS upload it to your FTP server. You can read a tutorial on
using Smart FTP Client
here.
5. Now go back to your index.html and paste this code below:
Where it says CSS URL HERE paste the url of your css. E.g. yoursite.org/style.css
For this code, not only will you need to paste it on your index.html but you will need to
paste it on EVERY SINGLE PAGE you make or the pages where you want to have the
css settings.
(e.g colour of text, backgrounds, etc) matching your layout.
So everytime you change your style.css, your pages with the css url code will automatically
change into those new settings.
6. This is optional. But if you want, you can have a sidebar. Copy and paste the code
below, and fill out the information.