html tables Flashcards

1
Q

table

A

oraganize data in html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

<table>
</table>

A

create table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

<tr>
</tr>

A

row

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

<td>
</td>

A

data/info to be input in table
left alligned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

<th>
</th>

A

table header
by default it is set in bold and centered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

border

A

table, th, td {
border: 1px solid black;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

collapsed border

A

table, th, td {
border: 1px solid black;
border-collapse: collapse;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

cell padding

A

thickness of border

th, td {
padding: 15px;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

alignment

A

th {text-align: left;}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

border spacing

A

table {border-spacing: 5px;}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

colspan

A

<table>
<tr>
<th>Name</th>
<th>Telephone</th>
</tr>
<tr>
<td>Bill Gates</td>
<td>55577854</td>
<td>55577855</td>
</tr>
</table>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

rowspan

A

<table>
<tr>
<th>Name:</th>
<td>Bill Gates</td>
</tr>
<tr>
<th>Telephone:</th>
<td>55577854</td>
</tr>
<tr>
<td>55577855</td>
</tr>
</table>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

caption

A

must be inserted right after table tag

<table>
<caption>Monthly savings</caption>
</table>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

onse style table

A

t01 {

To define a special style for one particular table, add an id attribute to the table:

width: 100%;
background-color: #f1f1c1;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly