html forms Flashcards
1
Q
What is the purpose of an HTML form element?
A
To collect info (user input) and submit it to a server
2
Q
Give five examples of form control elements.
A
form, input, textarea, select (has option elements), label, button?
3
Q
Give three examples of type attribute values for HTML input elements.
A
text, number, radio, email, password, checkbox, file, submit, image, hidden
4
Q
Is an HTML input element a block element or an inline element?
A
inline-block