Access and secure data (26%) Flashcards
What type of input provides a color picker?
color
What type of input provides a date picker?
date
What type of input provides a date/time picker?
datetime
What type of input enables users to select a numeric month and year?
month
What type of input enables users to select a numeric week and year?
week
What type of input enables users to select a time of day?
time
What type of input forces the input to be numeric?
number
What type of input forces the input to be a properly formatted email address?
What type of input allows users to select a value within a range by using a slider bar?
range
What type of input formats entered data as a phone number?
tel
What type of input formats entered data as a properly formatted URL?
url
What type of input displays a radio button?
radio
What type of input displays a checkbox?
checkbox
What type of input displays a masked textbox for passwords?
password
What type of input displays a button?
button
What type of input resets all HTML elements within a form?
reset
What type of input posts the form’s data to the web server?
submit
What type of input displays a textbox?
text
What is the syntax to define a textarea with a specified number of columns and rows?
<textarea></textarea>
What formats does the url input accept?
Absolute URL’s with protocol unless overridden with the pattern attribute.
Which input cannot have a default value or be updated with JavaScript?
password
How do you default a checkbox input to be checked?
Add the checked attribute
How do you create a radio button group?
Set the name attributes of the radio inputs to the same value.
<tr>
<td>
Rate your experience:
</td>
<td>
<input></input> 1 - Very Poor
<input></input> 2
<input></input> 3
<input></input> 4
<input></input> 5 - Very Good
</td>
</tr>
What types of elements can act as buttons?
Anything can be a button if it has a click event or a mousedown and mouseup event.