HTML5 Forms Review CB
Fill in the missing code: <form _________="process.php">
action
Forms need to be processed. In order to process a form it must be sent to another page or given an .
action
The __________ attribute specifies whether a form or input field should or can be automatically completed.
autocomplete
You do not want the letters to appear in a field called password as the user inputs information. Complete the following input statement. <input type=" " value="pw">
password
What is it called when a user continues to try and submit a form multiple times, but is stopped due to validation issues?
pogosticking
The method attribute is very important when submitting a form. If you do NOT want to pass along any perimeters in the URL when it is being processed you should use this method?
post
This input type allows for the user to select from a limited number of button. HINT: Little circles
radio
The purpose of the < > element is to provide a secure way to authenticate users. It is new feature that allows for RSA encryption.
keygen
The < > element defines a caption for the <fieldset> element. HINT: It puts in the top left hand corner of the box created to hold your form.
legend
Which attribute would force the user to enter a date before January 1, 1980? Enter a date before 1980-01-01: <input type="date" name="bday" ____="1979-12-31">
max
The ___________ attribute specifies that the input field is read only (cannot be changed): <input type="text" name="firstname" value="John" _________">
readonly
The _________ attribute specifies that an input field must be filled out before submitting the form. Username: <input type="text" name="usrname" __________>
required
The <input type="_________"> is used for search fields (a search field behaves like a regular text field).
search
The < > element defines a drop-down list.
select
To create a button that processes or sends the form to do an action you will need to use the <input type=" ">
submit
The <input type="______"> is used for input fields that should contain a telephone number. Telephone: <input type="_____" name="usrtel">
tel
The <input> tag requires a type. What is an example of a type? <input type=" ">
text, radio, submit
The <input type="________"> allows the user to select a week and year.
week
Forms can be processed other web pages as long as that page is dynamic. What would be an example of a dynamic web file extension?
.php .net .cfm .asp
Look at the following URL that results from a Google search of the word CIW. Which form method was used? https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=ciw
Get
What is the most common type of database that is used to enter or check data against when entered into a form?
SQL
This input type lets a user select ZERO or MORE options of a limited number of choices. HINT: Little boxes. input type="__________" name="vehicle" value="Bike"> I have a bike<br> <input type="__________" name="vehicle2" value="Car"> I have a car
checkbox
This new HTML5 input type allows the user to select a color from a color wheel. <input type="______" name="favcolor">
color
The < > element specifies a list of pre-defined options for an <input> element. It is very similar to the <select> element, but allows the user the additional option of typing in their own data.
datalist
Depending upon browser support, this input type allows the user to select the month, day and year. <input type="________" name="bday">
date
Depending on browser support, the users e-mail address can be automatically validated when the form is submitted. <input type="________" name="email">
What HTML tag is used to create a form?
form
This HTML form element can be used to create text fields, radio buttons and the submit button.
input <input>