To Lecture Notes

IT 130 -- 1/11/09

 

Review Questions

  1. What is the name of the folder on students.depaul.edu into which your HTML files are uploaded?
    Ans: public_html
     
  2. Suppose that you have composed an HTML page using the PSPad Editor and uploaded it to the server using SSH. However, the page is blank or does not appear at all. List some things that might be wrong?
    Here is a sample website for illustration: Website1
    Ans:
    1. You might not have saved the page in PSPad after editing it.
    2. You might not have refreshed the page after uploading it.
    3. You might have spelled public_html incorrectly.
    4. You might not have uploaded the page into the public_html file.
    5. you might have created the public_html file inside the mail folder.
    6. You might have forgotten the </title> tag.
    7. You might have forgotten a --> tag.
    8. You might have omitted a closing or a closing >.
    9. You might have the double version problem: you are editing one version and uploading and viewing a different version.
    10. The permissions for the page or folders containing it are incorrect.

     
  3. You are trying to save an HTML page on the C: drive in the lab and you get the message Unable to create the file mypage.htm. Access is denied. What is wrong?
    Ans: You are not allowed to save files on the C: drive in the computer labs. Create the page in the My Documents folder instead.
     
  4. You upload a file to the server, then delete the original file on your PC. Does the uploaded file still exist?
    Ans: Yes, there is no connection between the two files after the copy is performed.
     
  5. Write a span tag with an inline style that will change the word really in a sentence to red italic like this:
    Ans: <span style=font-style:italic; color_red;>
     
  6. What happens if you forget to include the matching end tag </span> for a <span> tag?
    Ans: The style defined in the span tag will continue until a </span> tag is encountered or to the end of the document.
     
  7. What is the importance of these persons in the history of computing and the internet?
    Ans: See the History of Computing and the Internet.
     
  8. What do the vacuum tube and transistor do?
    Ans: They serves as a high-speed valves for electricity. The transistor, being smaller, is faster than the vacuum tube.
     
  9. What were the first four hosts connected to the Arpanet in 1969?
    Ans: UCLA, UCSB, Stanford, University of Utah

 

Rules for XHTML

  1. One of these validation headers is required:
     
    or
     

  2. Exactly one head section and exactly one body section are required.
     
  3. The head section requires a title.
     
  4. Tag and attribute names must be in lowercase characters.
     
  5. Every tag requires a matching end tag.
     
  6. Tags must be nested. Do this:
     

  7. not this:
     

  8. Use combination start-end tag when there is nothing between the start and end tag.
    Use <br /> instead of <br></br>. Using simply <br> is not legal in XHTML.

  9. Use double quotes for attribute values in a tag. Do this:

    not this:

  10. Use <strong> and <em> instead of <b> and <i>.

 

The Nonbreaking Space Symbol

 

Project 2 -- The History of Computing