Lab 4 - It 130

Each of you must do your own lab. You can get as much help as you like from me or your classmates. Remember you have to turn in all of your labs.

You need to understand the material from the previous classes and labs before you can do this lab. Also, you need access to your students account.

For this lab use edit plus http://www.editplus.com. If you can't find it just re install it.

If you were not present the last class then you must read css tutorial 1 and do lab3 before attempting this lab.


Hosting Your Web Files to be Viewed by the World

Don't recomend

If you have a unix account on students.depaul.edu follow this tutorial on setting up your students account Secure File Tranfer tutorial then follow these instructions Sudents Account Setup

Recomended

If you are not using your students account. Use this web hosting company and create a free account 000webhost When creating an account pick subdomain. Use your name, lastname followed by first initial, nick name etc...

Once the account is created login and go to control panel. Go to files and look for file manager, you should have a public_html folder. Go in this folder and create a sub directory called hci201. Go into hci201 and create a subdirectory called lab. In Lab create the subdirectories lab1 lab2 lab3 lab4. Upload your labs to the appropriate directory

  1. Get the HTML code for http://condor.depaul.edu/~alarrain/hci201/hw/basicd.html
  2. View Source and save the code into your local system. Make sure the file name is basicd.html

  3. Take some time and study the html code. All of it should be familiar to you, if not just ask
  4. This question has multiple parts. For each part you will add the styles to basicd.html. You must type these in.

  5. Create a sub directory of lab4 named images
  6. Go to the following page
    http://condor.depaul.edu/~alarrain/hci201/photo.html
    Click on the first thumbnail, you should see a larger picture. Save this picture to your images directory created above.
  7. To save an image:

    1. Right click on the image
    2. Select, Save Picture As. This should pop up a dialog box
    3. Navigate to your images directory.
    4. The filename should be cumberland1.
    5. The save as type should be JPEG
    6. Hit the save button
    7. Go to your images directory and make sure the file is there.
  8. Please make this a new HTML file. Create a simple HTML file, name it pics.html and insert the following piece of code into the body. By now you should be comfortable with basic HTML so add a heading and a paragraph describing your page.
  9. <img src="images/cumberland1.jpg" width="445" height="291"> Open up the html file in the browser. You should see the image.
  10. See HTML tutorial 8 and read about the alt attribute and add that to the above image tag.
  11. See HTML tutorial 8 and read about the title attribute and add that to the above image tag.
  12. Download one image and insert the imzge into your html file. Check the dimensions of the image. Right click on the image and select properties.
  13. If you do not have any questions you can leave.