Welcome to the my web guide. This page is just to go over the
very basics of creating a web page.
Brackets
All HTML tags
are enclosed within < > brackets,
or tags. Anything that is written between the
< and > brackets will be invisible and tell your browser
to do something. For example:
, will center
your text.
Back
top
Case Sensitive
HTML tags are NOT case
sensitive. So, <center> is the same as <CENTER>
which is the same as <Center>. There is one
exception though, and that is image file names. So
a file name should be written exactly as it looks. An
example would be:
<img src="blue.gif"> is not
the same as <img src="Blue.gif>
Back
top
Format
All HTML documents should follow
the same basic format. If they do not some commands may
not function the way you want them too. The basic for
all HTML documents should be
HTML: This will tell the browser that it is an HTML
document, this should be standard in all your web pages.
Title: This should describe the content of the
page. Try not to make it longer then 64
characters. If someone was to bookmark your page, they would
see this as the page title. Try to make it descriptive.
"Cars" would be a poor title, but "Mustang Cars"
would be better, best would be "1964-1969 Mustangs".
An example of this code is:
Connors Web Designs -=- The Basics
Head: The Head tags surround the title and introductory
text. You will learn more about tags that go into the head
later in the more advanced parts of this site.
Body: This is the main part of your page, where everyone will
see what you want them to see. an example is:
Hello everyone and welcome to my web
site
Closing Tags: You must remember your closing
tags. If you do not, some browsers will not read the page
correctly or not see the page at all.
Back
top
Different Browsers
Not all HTML tags are supported by all browsers.
If a tag is not recogized by a browser, it will usually just ignore
it. Some browsers are text only and will not support images or
frames, some will not support tables or frames but support picturers.
I sugest trying your page out it as many browsers as you can.
Back
top
Line Breaks
This starts a new line. NO closing tag is needed.
Back
top
Horizontal Lines
This tag makes a very fine shaded horizontal line. NO
closing tag is needed. You can control the thickness, length
and alignment of the line.
Length this is how long you want it to be in a percentage of
the screen. An example
Size is the thickness expressed as a number of pixels you
want it to be. An example
Align can be left or right. If this is left out it
will default to the center. An example
Noshade If you want to make the line dark, you can specify
noshade. An example
Color If you want to make the line a certain color you
specify the color. An example:
<hr align="left"
width="50%" size="15" color="#000080">
Back
top
To
Center Text or Images
This will cause whatever follows to be centered in the next
line. You must always close with the
tag or else your whole document will be centered. An example
This text is centered will
appears as This text is centered
Back
top |