1/24/06 Notes

To Notes

Summary for HCI 201 -- 1/24/06

 

Quiz 2

 

Review Questions

  1. Why are file and folder permissions important for websites?
    Ans: You want the owner of files and folders to have read and write permission to that she can view the files and change or delete them. The owner of folders also wants to be able to view the contents of those folders in the browser or SSH; execute permission is required for this.
    You want group and other (everyone besides the owner) to be able to read files and folders. You also want them to have execute permission for folders for the same reason as above. You do not want group and other to have write permission because they might be able to alter or delete the files in your website.

  2. What are the recommended permissions for files and folders?
    Read and write for owner files; read, write and execute for owner folders. Read for group and other files; read and execute for group and other files.

  3. How do you set the background color for a webpage in FrontPage?
    Ans: In the Normal View, right click on the page, select Page Properties >> Formatting Tab >> Background Colors Dropdown Box >> More Colors >> Select Color.

  4. How do you delete a folder in SSH?
    Ans: First delete all the contents of the folder, then delete the folder.

  5. How do you add a link to an external site to a webpage?
    Ans: Right click on the link and select Hyperlink Properties. Select Target Frame and New Window.

 

More about Files and Folders

 

Practice Problem

  1. Create a FrontPage empty website named example-file-system.

  2. Click on the example file system link.

  3. Right click on each of the files ch1.htm, ch2.htm, ch3.htm. Select Save Target As and save each file to the example-file-system website.

  4. In the FrontPage website example-file-system, create the new folder nameed.

  5. Download each of the files app1.htm, app2.htm, app3.htm in the folder appendix from the HCI201 course website into FrontPage website.

  6. In FrontPage, select View >> Refresh to verify that all of the files have been successfully downloaded.

  7. Open a browser to text the website example-file-system.

 

Hyperlinks, Addresses and Bookmarks

 

Practice Problems

  1. Verify in the FrontPage example-file-system website the HTML code for hyperlinks and bookmarks.

  2. Create sections D, E and F in ch3.htm similar to sections A, B and C in ch2.htm. Add bookmarks for these sections and hyperlinks to them in ch1.htm.

  3. Create a link to an external website that opens in a new browser window.

  4. Fix your uploaded Ex5 contents.htm page so that the Ex3 link refers to the actual Ex3 submission, not to the Ex3 stub page: