To Lecture Notes

IT 130 -- 4/12/2011

 

Review Questions

  1. What are five rules that an XHTML document must satisfy?

    Ans: (1) A start tag requires a matching end tag, (2) Tags must be nested, (3) A combination start/end tag is allowed for tags that have nothing between the start and end tag, (4) Double quotes are required for the value of a tag attribute, (5) Header lines are needed to show the version of XHTML that is used.

  2. Write an inline style for a size 1 heading that specifies purple text, Chiller font that is in bold, centered and three times as large as normal.

    Ans:
    <body style="font-family:Chiller; font-weight:bold;
        text-align:center; font-size:300%;
        color: purple">

  3. What are the HTML special symbols used to display the following in a browser:

    Ans: &lt;   &gt;   &amp;   &quot;

    For a list of all special characters, see Special Characters.

  4. How many spaces does the browser display between a and b (see below)? Recall that the browser eliminates all but one of the normal spaces between words. Non-breaking spaces are never eliminated.

    Ans: 4 spaces.

  5. Write an inline style to indent the first line of a paragraph by 1 centimeter.

    Ans: Use text-indent: 1cm; where 1cm is the distance to indent.

 

Units for Measuring Computer Information

 

File Permissions

 

 

Images

 

Hyperlinks

 

Homework Assignment 3