Linguistics 408/508 |
Fall 2003 |
Hammond |
<html>
: all HTML documents
should begin and end with this tag.<head>
: the first item in an
HTML document is the <head>
which potentially contains a bunch of stuff we
don't care about.<title>
: the one thing the
<head>
contains that we do
care about is the title of the document set in
between these tags.<body>
: after the head of the
document comes the body, which contains most
everything that is displayed on the web page.
The body is set between these tags.<p>
: this starts a new
paragraph and does not need to be
paired.<br>
: this starts a new line
and is not paired.<hr>
: this draws a line across
the screen and is not paired.<h1-6>
: headings are set with
these tags; there are six levels.<strong>
: important text should
be set in these.<em>
: emphatic text should be
set in these.<i>
: if you want to directly
set something in italics, use these.<b>
: if you want to directly
set something in boldface, use these.<pre>
: these mark text that is
set in a monospaced font and set
exactly as typed.<center>
: to center text.<ol>
: sets an ordered list;
each item has a number.<ul>
: sets a bulleted list;
each item has a bullet.<li>
: marks an individual item
in either of those sorts of lists: does
not have to be paired.<a href="">
: marks a hyperlink
to another document or another place in the
current document.<a name="">
: marks a location
that can be hyperlinked to.<
):
<
>
):
>
&
):
&
SSH
program. The file needs to
be put in a directory that is visible to the
web. This is typically called
public_html
, but may be called
something else on some machines.pico
and it is available on both
syntax
and the u-cluster.myfile.html
on the
syntax
machine, the URL is:
http://syntax.sbs.arizona.edu/~hammond/myfile.html
.chmod
a+r myfile.html
.This chapter includes a discussion of the LWP
module and describes a program
(websearch.pl
) that uses it to search the
web in an automated fashion. I won't cover this because
of time constraints.