v
<html>
<head>
<title>
Webpage Class - One
</title>
</head>
<body>
<a href="http://comp.uark.edu/~ksampson">Sampson Home </a> Sampson Home
</body>
</html>

CAUTION: once you engage in the fun side of solving your "problems," you will find that working with your web site becomes more compelling than other responsibilities you may have already committed to. Treat it like leisure reading that you need to work into your schedule of other commitments, and you'll enjoy the full pleasure of the process. Don't expect to know how the book ends until you have helped develop the plot and characters. Be patient, and do not expect to have a fully-developed web page the first time you sit down to build it. Also, wait to try the more advanced "html tecniques" until after you have mastered the fundamental onces that are covered in this first class.
After the first class, you should know the following: (1) how to access you comp account and activate the "pico" program for building a web page on-line; (2) how to "set permissions" for files you have built; (3) how to set up a clickable reference to your email address (a "mailto:);(4) how to set up a clickable reference to other web pages that you wish to reference on your own web site ("anchor tags" "paired tags" and "url's"); (5) how to follow University web page rules by including the University of Arkansas disclaimer on any web page that you set up on your comp account; and (6) how to create hard returns and graphic lines on your web page -- "unpaired tags." This class can give you all the information to get a web page "up and running." The fancier material, about how to change colors and size and appearance, and how to add graphics to your web page, is discussed in the notes for the second class.
Darla Kay Sanders-Weatherford
dksander@comp.uark.edu
575-2901
575-2905
2.)HTML for Info Providers handout -- (relevant to someone who will publish a web site as part of his or her University job)
3.) Copyright Fundamentals -- (this link is to a Copyright website, a portion of which was provided as a handout; the handout focused on (a) what copyright protects and (b) the duration of copyright protection.)
COMP ACCOUNT ready to go? (Can you access your comp e-mail? If so, your comp account is ready to go. If not, call 575-2905 and ask the computing services folks to get you squared away.)
www.uark.edu is one machine where official university pages appear.
comp.uark.edu is the machine where your personal home page will be after you set it up.
Your web page will include a symbol that looks like this: ~ This symbol is called a "tilde," a symbol that makes your "url" easier to remember because you do not have to type in all sorts of details about the location of your web site in the comp.uark.edu machine.
When my
comp
account web site became operational, my url became:
http://comp.uark.edu/~ksampson
The end of your url will look like mine,
only instead of ksampson, you will have your comp password that you use
everytime you access your PINE e-mail.
REVIEW:
www.uark.edu one machine
comp.uark.edu - the machine where personal page is
~ tilde
Click here on the University's home page. You can learn a lot about a web site by looking at this home page. Look at the top of the Netscape screen, press the button called "View" and a menu will drop down. Click on "page source" and you will see the "html tags" the person who built this web page used to make the images that appear on the screen.
Because the University home page is pretty complicated, you can take a look at something quite a bit simpler. So go to Web Practice
Click on VIEW and then PAGE SOURCE to see the html codes I used to build my page.
<html> -- tells the browser that it's looking at an html
file
<head> </head> -- contains information about your web
site,
usually only the title. It has other functions that we don't need
right now.
<title> </title> -- contains the title to your web
site; this is the information someone sees when they "bookmark" your site;
it is also the information the search engines use when they are
looking for sites that focus on the type of information that you announce
you offer in your website through your title.
<body>--after this tag, you begin seeing the information
on the
actual web page itself.
NOTE: the <html>, <head>, <title>, and <body> tags are "nested" and need to appear in exactly this order when you place them on your web page.
</body>
</html>
<a href="mailto:ksampson@comp.uark.edu> </a> --
sets up
your clickable e-mail address
<a href="http://www.uark.edu.">University of Arkansas
</a> -- sets up a link to someone else's web page.
"These materials are not endorsed, approved, sponsored, or provided by or on behalf of the University of Arkansas, Fayetteville."
<p> (creates two hard returns between items)
<br> (creates one hard return between items)
<hr> (creates a horizontal rule on your page)
Notice the tags that have a "/" in them appear after "paired" previous tags that do not have a "/" in them. Together, these tags are called "paired tags." The tag without the "/" gets the function started; the tag with the "/" ends the function. Three of the tags on the preceding list are "unpaired tags." They don't require closure with a /. These "unpaired tags" are <p>, <br> and <hr>, all tags that produce hard-return or line-graphic breaks on the web page.
You can publish a personal web page in one of two ways:
1) By using a program on your word processor or by using web page software found on your web browser (e.g., Netscape). When you use this method, you build your web page "locally" on your computer's hard drive, by using "html text editors" like "Composer," "Notepad," "Workpad," etc. Once it's built this way, no one can see it on the web until you (a) save it as "ascii" text or otherwise "publish" it as a web document, and (b) "upload" it to your web server account, using an FTP program (discussed in the second class when covering graphics).
2) By getting directly into your comp account and publishing your web page "on line." Using this method, as soon as you save your webpage to your comp account, it is published to the web and, theoretically, the world can read it. Because you are logged into your comp account the entire time you work with your web page via this method, if you have time limits for use of your comp account, you will be using them up as you work on your web page. These course notes discuss the second method for building a web page. Thus, you will be "published on-line" as soon as you save your files to your comp account!
<html>
<head>
<title>
Web Page Practice
</title>
</head>
<body>
Web Page Practice
<p>
<a href="mailto:ksampson@comp.uark.edu"> (only use your own e-mail
address where mine shows up)
e-mail me at: ksampson@comp.uark.edu
</a>
<p>
<a href="http://www.uark.edu">
University of Arkansas Information
</a>
<p>
These materials are not endorsed, approved, sponsored, or provided by or
on behalf of the University of Arkansas, Fayetteville.
</body>
</html>
I, and the web page course notes, will explain what you just did soon. However, now you should be able to see your web site on netscape, after you:

Sign on to your comp account. [ksampson;*******] -- like you do when you sign on to your Pine e-mail account. Except, once you get in, do not type "pine"
Before you actually start building your web page, you need to understand a little bit about how to navigage in the Comp UNIX system. At the comp% prompt you can obtain information about your files by using UNIX commands that lead you to information about what is contained in your comp files.
FIRST UNIX COMMAND:
comp% pwd
Hit "enter" and you'll see your path showing you, mostly where you
are.
I saw: /export/home7/LAWD/ksampson this is my "path" in comp.
ksampson will be part of my "url" the address or "uniform resource locator"
www.uark.edu is a url, also.
Here's a "url" for this short course:  http://www.uark.edu//campus/compserv/shortcrs
SECOND UNIX command:
comp% ls -al
press "enter" and find out a lot more about what's in your comp account.
Do not delete the files that have a dot in them! You will want to use
this command later, when (1) you have some aborted file transfers, to
delete "garbage" files, (2) you have problems with graphics showing up on
your web site and you want to check your directory to see if you have "set
your permissions" for the graphic file, and (3) for some other uses that I
haven't had a reason to find out about yet!
comp% ls-al
drwxrwxrwxrwx
d=directory
rwx=read, write,
read -- you want to let others read your file
write -- you want to write to your file, but you don't want others
to do so
x="execute" a permission needed for "server side includes,"
high tech web page creations that you will learn in the intermediate html
class. "Server side includes" can: tell you what time
it is on your web page, etc. To get these hi-tech items to work, you
have to have the "execute
permissions" or "x" set for any file in which you may want to use them in
the future. Thus, as a matter of practice, the "x" permission is set,
even though you won't need it for some files. The biggest thing you want
to do is let people read or "r" your web pages; so you need to set
permissions for them to do so.
rwx = a group
d rwx
rwx rwx
user
group other (everyone except the user and the group)
When we set permissions, we use "all" to include everyone.
Permissions, setting them.
comp% mkdir public_html
SET PERMISSIONS
chmod (change mode) (set permissions for public_html)
comp% chmod a+rx public_html
a=all
r=read
x=execute
+ add (you can use a minus to take away permissions)
comp% chmod a+x $HOME helps the browsers get in and read the files
You need to set permissions for every file you make
comp% chmod a+rx file name
comp% cd .. (back out) at comp%
comp% cp (copy) cp oldfile newfile
comp% mv (move) mv filename public_html/----/----/
(copy files and delete the extra to do cut and pasting)
comp% pwd get your bearings and tell where you're going.
"comp% pico" PINE uses pico, uses similar commands
ctrl-o (saves a file in Pico)
ctrl-a (takes you to the beginning of a line)
ctrl-e (takes you to the end of a line)
ctrl-w (works as a "find" function; means "where is?")
comp% cd public_html
comp% pico index.html

HTML tags
<tag> (anything in <> will be invisible; will not show up when
you load
your page.
<html>-- the very first html tag; tells the browser that
it will be reading an
html file. It's a paired tag; requires closing later.
Think about editing this file later. Tabbing, etc., makes it a lot
easier to
edit later.
Html tags are not case sensitive (it doesn't matter whether you capitalize
or not)
UNIX commands, however, are case sensitive (you must scrupulously follow
what the code is; otherwise you won't be able to navigate in the system)
Two parts to html file: head and the body.
<html>
<head><title> the information that shows up across
the top of the web page; it's what shows up when you bookmark a page.
Call your page what you want to call it: e.g."Parenthetical Comments"
or "My Page"
</title> the slash ends a paired tag.
</head>
<body> the material that will show up on the actual web page.
Search engines read the head/title tags; works as an indexing system; so
choose your head/title tage to allow people who are interested in the content
of your web site to be able to find it using a search engine.
This University of Arkansas disclaimer must appear on all personal comp.uark.edu web pages:
"These materials are not endorsed, approved, sponsored, or provided by or on behalf of the University of Arkansas, Fayetteville."
mailto: place your e-mail address on your web page.
<body>
disclaimer
mailto: a link that you can click on (finger pointer gives you a link).
A mailto pulls up the netscape mailing program.
ANCHOR TAGS
<a href (hypertext reference) ="mailto:ksampson@comp.uark.edu">
<a = anchor
MAILTO TAGS
<a href="mailto:ksampson@comp.uark.edu">
Watch out; a quote that doesn't have a match can cause problems with
publishing your web page.
Add ANCHOR TEXT to make sure that the web reader can click on
something to access your anchor tag.;
ksampson@comp.uark.edu
<a href="mailto:ksampson@comp.uark.edu">ksampson@comp.uark.edu
</a> end your anchor tag.
<a href="http://comp.uark.edu/~ksampson>Home Page</a>
THESE ARE NOT PAIRED TAGS:
<p>=paragraph (works like two hard returns)(doublespace)
<br>=break (returns and starts on the next line; one hard
return)
<hr>=horizontal rule (3-d line going across the page)
has width and alignment options, also (list of options
in computing services
home page)
<a href="http://www.uark.edu">University of Arkansas Information </a>
HERE'S WHERE THE EDITING TAKES PLACE. Here's where you will add your "html tags" that add substance to your homepage.
</body>
</html>
When you edit your file, you work between the two body tags.
The </body> and </html> tags should show up at the very bottom
of
the file.
Ctrl-0 also allows you to save your file name, if you wish to do so, at
the ctrl-0 command.
Ctrl-X - when you exit out of Pico, if you have not saved, you
will
have the opportunity to save here after entering ctrl-x.
Y = yes to save
enter to accept the file name or change it.
If you're still working in the file and you're not ready to exit, save
your file anyway with Ctrl-0
CTRL-O often.
Enter; and you have set your permissions.
CTRL-X - move out of pico
EXIT out of comp
check for your web site by typing your url into the address section
of the netscape screen: http://comp.uark.edu/~youruserid
ow you are ready to proceed to part two
of the
build-your-own-web-page class. You may find a printed copy of
"Hands-On Three" and "Hands-On Four" helpful as you add files and as
you edit files in the future. If you're ready to proceed to learn
more html tags, return to Sampson Web Page
Materials for the second installment from the build-your-own-webpage
class.