8.03Classes_Link_Tables
What are the lines called that surround the perimeter of the table?
borders
Which <table> attribute determines the spacing within the cells?
cellpadding
Which <table> attribute determines the spacing between cells?
cellspacing
To create a cell that spans two rows and two columns at the same time, you enter the <td> tag as ____.
<td rowspan="2" colspan="2">
To mark data in a cell so it is by default bold and centered use
<th>
To set the height of a row in your table to 10 pixels add the following attribute:
<tr height="10">
Each row of a table is indicated using a two-sided ____ tag
<tr>
Which tags indicate the start and end of a table row?
<tr> and </tr>
Which fragment contains correct HTML?
<tr><th>Facts</th></tr>
Default placement for a caption is:
Above the table and centered
What is the intersection of a vertical line of information and a horizontal line of information called?
Cell
<th> tags are only used in the <thead> section to mark heading data.
False
If styles are conflicting column styles take precedence over row styles.
False
Links are classified into five different modes: Link, Visited, Temporary, Active, and Hover,
False
The class attribute is not used when you want to identify elements that share a common characteristic?
False
You can assign multiple id's to an element as long as they are seperated with a comma
False
To change the visited links to green on a style sheet use
a:visited {color: green}
Which attribute of the <td> tag horizontally aligns the data in the cell?
align
Which <caption> attribute would you use to place the caption beneath the table?
align=bottom
To add a caption tag to a table you place it directly after the:
<table> tag
What are the four main tags used for table creation?
<table>, <tr>, <td>, <th>
Which is NOT a valid <table> tag?
<tc>
Spanning cells are created by inserting the ____ attributes in a <td> or <th> tag.
rowspan and colspan
Specify a style to display all elements that belong to the newsAlert class to be italic font
.newsAlert {font-style: italic}
Change all paragraphs with the class name of subtitle to 16 point font
.subtitle p {font-size: 16pt}
If you have four <td> tags and six <tr> tags, that table has ____ columns.
4
Specify the code to create a column group in which the first three columns belong to the introCol class and the next 2 columns belong to the col1 and col2 respectively
<colgroup> <col span="3" class="introCol"/> <col class="col1" /> <col class="col2" /> </colgroup>
The correct code to place a h2 into two classes named subtitle and mainpage would be:
<h2 class="subtitle mainpage">..</h2>
Which tag would you use to insert an image into a data cell in a table?
<img>
What HTML attribute would you add to the table element to display a 1-pixel border around the table but no gridlines within the table.
<table border = "1" rules="none">
table width is defined:
In pixel dimensions or percentages
Several elements can share the same class value?
True
Spanning cells is when you allow a single cell to occupy more than one row or one column.
True
The _____ attribute of the <td> tag sets the number of rows spanned by a cell.
rowspan
What is a vertical line of information called?
column
You can control the look of your outside table border and inside gridlines by using:
frame and rules
To vertical align in a table which position can you not specify?
justify
Which attribute of the <td> tag vertically aligns the data in the cell?
valign
Which <table> attribute would you use to display the table in 60% of the window's area?
width="60%"
axis which runs horizontally is the:
x-axis