HTML Forms & Tables Flashcards

1
Q

What is the purpose of an HTML form element?

A

To collect information and data from users.

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

Give some examples of form control elements.

A

input, text area, radio buttons, checkboxes, drop-down boxes, submit buttons, etc.

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

Give three examples of type attributes for HTML < input > elements.

A

Radio, checkbox, drop-down boxes

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

Is an HTML < input > element a block element or an inline element?

A

An inline element.

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

Give some examples of key attributes for the input element.

A

type, value, id, name

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

What are the six primary HTML elements for creating tables?

A

< table >, < thead >, < tbody >,

< th >, < tr >,< td >

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

What purpose do the thead and tbody elements serve?

A

Both provide accessibility for screen readers.
Helps distinguish between sections of the table.
thead element: defines a set of rows that defines the head of the columns of the table
tbody element: confines a set of table rows that make up the body of the table

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

Give some examples of data that would lend itself well to being displayed in a table.

A

stocks, statistics data, timetable/schedules, etc

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