|
Tutorials: Basic HTML
Before reading this page, We hope you checked out the Getting Started page. Now that you have a server and are aquainted
with the File Manager, you want to start creating pages.
Now let us explain what index.html is. Your index page is your basic page, the page that you are most often directly led
to, such as your home or main page. There are two uses for an index page: your main page or your frames page. If you are
NOT planning on using frames later with your site, use the index page as your main page. But we highly recommend using frames
or lay out tables (because they make your site SO much more convenient),so you will want your main page under the tile
main.html or something like it, and save your index page for your frames code.
Now lets get to the basis of each page, what almost every single one of your pages will have.
It looks like this:
<html>
<head>
<title>PAGE TITLE HERE</title>
</head>
<body>
PAGE'S CONTENT HERE
</body>
</html>
All you need to do is copy and paste the information into into an empty page.
With most servers, you can get an empty page by going to the File Manager, and selecting on New, Create New page, etc. First,
lets go over what that all means. See everything between the <>'s?
These are the tags. See the first the first tag? That is the beginning of
the html tag.
Notice this: see the <html> and the </html>? Notice how
the second html has a / (forward dash) before it. The forward dash
represnts that the tag is ending. This is very important, because
the core of html is the tags.
The HTML tag is the beginning and end of each page. Everything that
is on the page is between the html tag. The next tag, the head tag,
is what sets up some of the guidlines for the page. Notice how the
title tag is in between the head tag, that shows that is part of the
head tag.
The head tag is what sets up your page, but your viewer can't see,
such as the color of your text, your title, etc. After the head tag
finishes, you see the body tag beginning. Everything you put between
the body tags is what the viewer sees. After the body tag ending, you
see the html tag ending. That means your page is finished, and you
don't often put anything after the html tag ends.
Now whatever you write between the body tags will be viewable in a
browser, but your page will be black and white and pretty boring
as it is. To add backgrounds, fonts, colors and pictures check out
the the next tutorials.
|
|