html-forms Flashcards
What is the purpose of an HTML forms element?
They allow you to collect information from visitors to your site.
Give five examples of control elements.
Adding Text: ex. text input for email, password input, longer text like messages or comments
Making choices: buttons to select, check boxes, drop down menus (all to select options
Submitting forms: submit buttons, image buttons, uploading files
input
output
textarea
select
button
Give three examples of type attribute values for HTML form elements.
type=”image”
type=”radio”
type=”password”
Is an HTML input element a block element or an inline element?
The input element is an inline-block element. It doesn’t start on a new line (inline) but it can set BOTH height and width values (block).