tables Flashcards

1
Q

what is a table?

A

a table is a way of displaying information in a grid format for example a timetable

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

what is the basic table structure?

A
(table)
(tr)
(td) data (/td)
(/tr)
(/table)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the table element?

A

the table element is used to create a table, the contents of the table are written out using rows

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

what is the (tr) element?

A

the (tr) element is used to create a row within a table. there can be multiple table rows within a table

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

what is the (td) element?

A

the (td) element is used to insert data into the table. stands for table data

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

what is the (th) element?

A

the (th) element is the table heading and is used to provide a heading for each column

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

when creating a long table with lots of data what 3 elements can we use to help separate the information to make it more user friendly?

A

(thead) (tbody) (tfoot)

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

what is the (thead) element used for?

A

the (thead) is used to add headings at the top of a table

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

what is the (tbody) element?

A

the (tbody) is used to add data into the table and serves as a main section of the table

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

what is the (tfoot) element?

A

the (tfoot) is used to provide a footer at the bottom of a table, usually where results are stored

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