Notice <head></head> tags are
outside the <body></body>
tags.
While the <body></body> tags
indicate what is seen within your web page, The
<head></head> tags define what
is seen from the outside, like the search engines.
When you find your page listed in the search engines, the
<title></title> tag definition
is what you see, which is within the
<head></head> tags.
Did you notice the indentation in the code? You can indent with a tab.
It has no effect on how your page works. I like to use it simply to
help keep track of starting codes and ending codes. This becomes more
valuable as our program code grows.
How do we look at the page with our browser?
|
Many of you are asking, how do we look at the page with our browser?
It's very simple. Every browser has a window line to type in the
address. It usually refers to something like
http://www.makemyownwebpage.com/. Rather than
http, use file instead, like file:///c|/.
Notice we use the pipe | character instead of
the colon :. This is usually on the same key
as your backslash \ key, but shifted. If you
have trouble with this, try cutting and pasting from this page.
Once we find our local hard disk, navigate around to the directory you
have chosen to work on your webpage (ie; C:\WEBPAGE).
Hmm.... Yep, you still have a blank page, except for the background
color. You will notice the title text appears on your top status bar
for your browser program.
more details...
|