CGS4854 Extra Credit 4
Due Saturday, 2/28 (late 6 am, 2/29).
Videos are available for implementing this extra credit. Log into the folder with your FIU web mail name and the password you use for uploading assignments.
Set up and start your Apache server.
Add a folder named styles
in the docRoot
folder of Apache on ocelot.
Create a stylesheet file in the folder.
- Change the default style for the entire page.
- Change the color of the text.
- Change the color of the background.
- Change the font-family. Use at least three possible fonts; the
last font in the list should be a generic font family. Do not
include more than one generic font family in the list.
- Set the size of the font so it is easy to read on all screens.
- Change the font so that it is either bold or italicized.
- Change the color for unvisited hypertext links. Use a color that is
different from the default text color for the page.
- Change the color for visited hypertext links. Use a color that is
different from the default text color for the page and different from
the unvisited hypertext link color.
- Be sure to validate the page and stylesheet at w3.org.
Add a folder named examples
in the docRoot
folder of Apache on ocelot.
Create an index.html
file in the folder.
- Include all the standard tags for a web page.
- The page should be displayed using your style sheet.
- Add a paragraph with some text.
- Be sure to validate the page for correct HTML.
Create an index.html
file in the docRoot
folder for Apache on ocelot:
- Include all the standard tags for a web page.
- The page should be displayed using your style sheet.
- Add a paragraph with some text.
- Add a hypertext link to your stylesheet.
- Add a hypertext link to the
examples
folder created above.
- Be sure to validate the page for correct HTML.
Hand In Assignment
To hand in the assignment, log onto ocelot, zip the cgs4854 directory and upload it.
- Please use the following command to compress your cgs4854
folder.
zip -r username ~/cgs4854 -x \*.jar \*.zip \*.war
Replacing username with your user name. This will create a file
named username.zip. It contains the ROOT, manager and username web
applications.
- Check the size of the ZIP file, it should be less than 3 MB. If it is
not, then you probably have another ZIP file stored in the ZIP archive.
Delete it and re-zip.
- You then have a choice for submitting the file.
- If you are logged onto ocelot, use my uploading program to upload the
file. Enter this command at the command prompt:
~downeyt/public/webftp/webftp.pl
- If you are using winscp, then download the zip file to your computer;
then, upload the file to me: Submitting
homework on-line via the Web.
- Upload the file as binary.
Be sure that all your files and subdirectories are included in the zip
file.
After uploading, do not modify your files on ocelot until after your assignment
has been graded.