Imperial Valley College Faculty Websites

You are here:Instructors»Robert Gallegos»CIS 212»Homework #2
Tuesday, 13 September 2011 07:25

Homework #2

Written by Robert Gallegos
Rate this item
(0 votes)

CIS 212 Fall 2011
Homework 2
Date handed out:09/12/2011

Reading Assignment:
3 Web Page Construction: building blocks
4 A Trip to Webville: getting connected

Note: Your answers must be turned in handwritten on another sheet of paper (no typed responses will be accepted).

Homework due at beginning of class on Monday August, 9/19:

  1. We surround each quote with a <____________________> opening tag and a </____________________> closing tag.

  2. Unlike the <q> element, which is meant for short quotes that are part of an existing paragraph, the <____________________ > element us meant for longer quotes that need to be displayed on their own.

  3. In general you will use <____________________> if you want to quote something that was a paragraph or more, while you can use <____________________> anytime you just want to 

  4. The <blockquote> element is a block element and the <q> element is an inline element. What’s the difference?

  5. Remember: block elements stand ____________________ ; inline elements ____________________.

  6. True      or      False       Block elements are used as the major building blocks of your Web page, while inline elements mark up small pieces if content.
  1. Add a <____________________>  element to any line when you want to break the flow and insert a “linebreak.”
  1. An example of an empty element is: <______________________________>
  1. Yes     or      No     Can I make any element empty? For instance if I have a link, and don’t want to give it any content, can I just write, <a href=”mypage.html”> instead?
  1. What element is used first when creating a list?

  2. The second list element determines what kind of list you are creating. What kind of list can you have? Write the element for them.

  3. Yes     or      No     Can you put text or other elements inside a list element?
  1. Yes     or      No     Can you put a list element within a list?
  1. HTML has ordered and unordered lists. What is an other type? Write the corresponding elements.

  2. The > character’s abbreviation is ______________________________ ; and the < is ______________________________.
  1. If you would like to have an & in your HTML content, use the character entity ______________________________ instead of the & character itself.
  1. This is the measure if the amount of pages and data the hosting company will let you send to your visitors during a given month.
  1. What is a domain name? Give an example – it does not have to be a real one.

  2. Domain names are controlled by a centralized authority called _________________________________
    __________________________________to make sure that only one person at a time uses a domain name.
  1. F.T.P. stands for _____________________________________________________________________.
  1. List what the following F.T.P. commands do.           dir, cd, pwd, put, get
  1. What is the difference between SFTP and FTP?

  2. Web address you type into the browser are called URLs. What does URL stand for?
  1. The first part of a URL tells you what?
  1. The second part of a URL is?

  2. The third part of a URL is?
  1. HTTP stands for what?
  1. What is an Absolute Path?
  1. What is important about the absolute path?
  1. To return a file by default from your root directory (or any other directory), just name the file
    “______________________________” or “______________________________.”

  2. How do we link to other Web sites?

  3. True      or      False     Relative paths can only be used to link to pages within the same Web site, while
                                        URL’s are typically used to link to other Web site.

  4. There other protocols besides http? What are they?

  5. What does it mean when you see a URL that looks like: Where would you most likely see it used?

  6. How do you add a title attribute to the <a> element?

  7. When you use an <a> element to create a destination, we call that a  ____________________________.

  8. What is the main benefit of destination anchors?

  9. Yes     or        No         When you have attributes in an element, is the order important? For example, should the title attribute always come after the href?

  10. Can you put a link to a destination anchor from within the same document?

  11. The ______________________________ attribute tells the browser where to open the Web page that is at the link in the href attribute.


Last modified on Tuesday, 13 September 2011 08:34