OK,
I'm better now. An example of a link to an HTML document would be:
Return to here
Anyone who clicked on here would be taken to the file
"index.shtml"... if they're already IN the file "index.shtml", this would
be a fairly pointless link. Oh, the stands for "this is the
end of the HTML document", which exemplifies the teritary HTML motto,
"the people who designed HTML are stupid, and sometimes actually
unconscious". All the examples so far assumed that the files you
"link" to are in the same directory as your home page (or the page
you're linking from). Since this would severly limit the uselessness
of HTML, it turns out most links are to non-local files. To link to
any file at all, you need it's URL. If you don't know what a URL is,
you should probably read a real guide on HTML, or, alternately, you
could turn off the computer, and go lead a normal, productive life. If
you wanted to link in David's Home Page, and you knew it was at
"http://perky.com/~david/home.html", you would simply add:
Go to David's Home Page
to your HTML document. By the way, if you ever see a really
neatly-designed home page... first off, you're spending too much time
on the WEB, but also... if you want to steal it, just use the "View
Source" command from your browser. This will show you the ugly HTML
(with all the "a href" and "<" thingies in it).
There are other things you can do with HTML, slightly more
complicated, but I won't be discussing them here, partly to annoy you,
but mostly because I'll put them in part 2. However, I will at least
mention what they are, so you can either pointlessly annoy someone
about them, or wait until part 2 comes out (IF part 2 comes out).
CLICKABLE PICTURES
------------------
Imagine someone looking at a picture of your two cats. Then, if they
click on one cat, they get that cat's life story.... or a larger
picture of that cat... or David's Home Page.... HTML allows you to do
this using "map files", which let you choose a different "link"
depending on where someone clicks.
FORMS
-----
Imagine someone filling out a questionairre and having the results
mailed to you.... imagine someone voting in a survey
automatically.... imagine watching the movie you want WHEN you... er,
ummm... Anyhow, forms let people fill our information and then return
it to you. More excitingly, if you're a good programmer (and eat all
your veggies), you can actually take the information people give you,
and run a program based on it. A particularly stupid example would
be... you ask people to enter two numbers... and, voila, a few seconds
later, you return to them the SUM of those two numbers! And it's all
automatic! The computer did all the work! You didn't even have to be
online! There are actually more impressive examples, including one
that lets you move an actual video camera (Francis Ford Coppola is
shaking!).
OTHER STUFF
-----------
There's a lot of other stuff you can put between the < and the > in
HTML (a nice piece of Velveeta, for example), but this should be a
good start-- if you're tempted to use something fancier, keep in mind
that, in all probability, NO ONE WILL EVER SEE YOUR HOME PAGE :)
Last modified stardate: 20070609.123525
Featured links:
Please report any errors, comments, questions, suggestions, etc... to:
Sarang (webmaster@sarangworld.com). Thank you!
Please do not email this address: 26673f37-4926f095@st.sitesuck.com
Search SarangWorld
SarangWorld Home Page