HTML Flashcards

1
Q

What is the purpose of an HTML form element?

A

better understand the content of the page and give the person using them more meaningful information.

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

Give five examples of form control elements.

A

button, checkbox, file, hidden, image, password, radio, reset, submit, and text.

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

Three examples of type attribute values for HTML <input></input> elements.

A

color, date, email, month, password.

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

Is HTML input block or inline?

A

An input element is inline-block by default.

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

Where do you put non-visible content about the HTML document?

A

display: none

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

Where do the <head> and <body> tags go in a valid HTML document?

A

between the <html> tag and the <body> tag.

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

What is the purpose of a <!DOCTYPE> declaration?

A

instruction to the web browser about what version of HTML the page is written in.

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