Making a Web page

Download Report

Transcript Making a Web page

Making a Web page
At UK
HTML




HyperText Markup Language
a web page must be written in this language
Browsers know how to interpret it to display
the page properly - color, pictures, lines,
fonts, tables, etc.
Easiest way to create it is to save a file in MS
Word "File / Save as Web page"
MS Word and HTML




When you save it, Word will save the file as
extension .htm.
It also creates a folder named with the same
name as the file and "_files", like
"debbykeen_files" and "debbykeen.htm"
This folder contains various image files and
other items that go with a Web page
Both need to be in the same directory to be
viewable
Getting your file(s) to the Web
Server



In general, you need to put the html file and
folder where the Web Server programs can
find them
That will be a different location on different
systems
Common locations are folders called HTML
or public_html or www
The Web Server at UK



You can interact with the UK web server via
your Lockerspace
The process is different depending on
whether you are LOCAL or REMOTE with
regards to the Lockerspace
Generally, local = on campus and remote =
off campus
Setting permissions of www




New this semester
Before you can view your web pages, you
must set the permissions on the www folder
This can be done from sweb.uky.edu
Your TA can help you with it in open lab this
week
Local Access




If you are on a machine in a SCS Lab on
campus, you can access your Lockerspace
as any other drive (L:)
Create a folder on L: named www if it doesn't
already exist (at the root of your L drive)
Drag and drop your htm file and folder to that
www folder
Your page is ready to view!
Remote Access




This is more complicated but allows you to
modify your page from anywhere you can get
a connection
Using a Web browser, go to sweb.uky.edu
and login with your account
Use the links and menus to transfer (upload)
your htm file and folder to the www folder
Your page is ready!
Viewing your web page Locally

Locally



this means the file is on your machine
you can use Windows Explorer or a browser with
File / Open File
This is no different for htm files than for any other
kind of file and is only possible for you, the owner
of the account
Viewing your web page
Remotely



Start up a web brower - Internet Explorer or
Opera or Firefox, etc. NOT Windows
Explorer!
Give the URL of
http://sweb.uky.edu/~userid/filename.htm
This allows anyone anywhere to look at the
file, all they have to do is know the URL
Developing a web page

If you view your page and see it needs
revision, the process is:




you load the htm file into Word
make your changes and save them as .htm
don't forget you have to copy your local copy of
the .htm file back to the web server location
("www")
tell the browser the URL or to refresh the page