1. Match the following |
||||
| table | This tag creates a table | |||
| tr | This tag devides table rows into details, or cells | |||
| td | This table attribute sets how thick the edges of the table are | |||
| border | This tag divides tables into rows | |||
| width | This attribute can set how wide a table or detail is | |||
| 2. Fill in the missing tags or attributes to code the following | ||||
|
||||
| <table ___="1" width="20%" | ||||
| <__><td>Hi</td></tr> | ||||
| <tr><td>___</td></tr> | ||||
| <___> | ||||
| 3. What does the <ol> tagset do? | ||||
| 4. What does the <li> tagset do? | ||||
| 5. What does the <ul> tagset do? | ||||
| 6. Tags typically surround text, so you can't leave <td></td> empty. What can you put in a detail if you don't wish anything to display? | ||||
| a) <!--empty--> | c) the non-breaking space | |||
| b) é | d) just put some text in that is the same color as the bgcolor | |||
| 7. True or false? If you set a table to use pixels, such as width="1280", but the user's browser window is only 800 pixels wide, a scroll bar will be required for the user to see the entire table. It would be better to use width="100%" instead, to size the table to fit the browser window. | ||||
| 8. If you set a detail width, <td width="10"...>, what happens to the detail if you put something wider, such as a picture that is 20 pixels wide, in that detail? |
||||
| The image is cropped, only displaying the left 10 pixels | ||||
| The detail expands to hold the image | ||||
| The image will be shrunk to fit in the space available | ||||
| The image will not display at all | ||||
| 9. If you set a detail width, <td width="10"...>, what happens to the column, if you put something wider in any detail, such as an image that is 20 pixels wide? |
||||
| The entire column explands to the size of the widest item | ||||
| Only the one detail with the image expands, the rest of the details stay 10 pixels wide | ||||
| 10. You could control the height of a row, but normally this is left alone. What do you suppose sets the default height of a row? | ||||
| The row height will always be 1 pixel tall, unless the height= attribute is used | ||||
| The height of the tallest item in that row | ||||
| The width of the tallest item in any row | ||||
| The row height will always be 100 pixels tall, unless the height= attribute is used | ||||