CISP110 About me Links Gear Home

Chapter 4

Session 4.1       Session 4.2      Session 4.3

Session 4.1

  1. What are the two kinds of tables you can place in a webpage?
  2. What is the difference between a proportional font and a fixed-width font? Which should you use in a text table and why?
  3. Which HTML tag would you use to create preformatted text?
  4. Define the purpose of the following HTML tags in defining the structure of a table:
  5. How do you specify the number of rows in a graphical table? How do you specify the number of columns?
  6. What are the three row groups and how do you create them?
  7. What HTML code would you use to place the caption "Product Catalog" below a table? Where must this HTML code be placed in relation to the opening table tag?

Session 4.2

  1. What attributes would you use to create a table with a 5-pixel-wide outside border, a 3-pixel-wide space between table cells, and 4 pixels of padding between the cell content and the cell border?
  2. What attributes would you use to vertically align a cell's contents with the top of the cell?
  3. What HTML code would you use to size a table to half the width of the browser window area, regardless of the resolution of a user's monitor?
  4. Under what conditions will a table cell exceed the size specified by the width attribute?
  5. What attribute creates a cell that spans three rows and two columns?
  6. What HTML code would you enter to create a column group spanning three columns that sets the background color of the column to yellow?

Session 4.3

  1. What is a columnar layout? Can text float from one column to another in such a layout?
  2. What is a jigsaw layout? What cell spacing values should you use in such a layout?
  3. What is a fixed width layout?
  4. What is a fluid layout?
  5. Why can tables be difficult for aural (non-visual) browsers?
  6. What HTML code would you use to create a 2 x 2 table nested inside the upper-left cell of another 2 x 2 table?
  7. <table> <tr> <td> <table> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </table> </td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </table>
Applied HTML knowledge: Anchors, Nested Lists