Level 95
Level 96

[Quiz] Input Types


29 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
<input type="text">
Defines a text box; Allows a user to enter small amounts of information
<input type="text" placeholder="...">
Provides the user with a hint about the kind of content you expect in a field.
<input type="text" required>
Indicates that a field is required for the form to be submitted correctly. Some browsers will force you to enter data into these fields before submitting them.
<input type="password">
password field
<input type="password" />
Defines a text field; Allows the user to enter private information
<input type="submit">
Defines a submit button for a form
<input type="submit" value="...">
Changes the text of the button to the specified value.
<input type="radio">
Defines a radio button; Allows the user to select only one option out of multiple choices
<input type="radio">
Creates a single radio button. All radio buttons with a single name make up a group of mutually exclusive buttons.
<input type="checkbox>
Creates a single checkbox button. You can create a set of choices by giving multiple checkboxes the same name.
<input type="checkbox" />
Defines a checkbox; Allows the user to select multiple options out of multiple choices
<button type="submit" value="Submit">Submit</button>
Add the form attribute to the button like this: <button type="submit" form="form1" value="Submit">Submit</button>
<input type="number">
Creates a single line text input field that only accepts numeric characters.
<input type="number" name="points" step="10">
Given that "points" can only occur in increments of 10, how would you modify the input to ensure that the user does not enter a value outside the valid range?
<input type="date">
Creates a date picker in browsers that support this type. Creates a text input otherwise.
<input type="color">
Create a color picker in browsers that support this type. Creates a text input otherwise.
<input type="range">
Creates a slider control for numeric input.
<input type="month">
allows the user to select a month and year.
<input type="week">
allows the user to select a week and year.
<input type="time">
allows the user to select a time (no time zone).
<input type="datetime">
allows the user to select a date and time (with time zone).
datetime
What <del> attribute is used to specify the date and time of when the text was deleted?
type=datetime
<input> attribute that defines a date and time control (year, month, day, hour, minute, second, and fraction of a second, based on UTC time zone)
<input type="datetime-local">
Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) (HTML5)
<input type="datetime-local">
<input> attribute that defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone)
<input type="email">, <input type="url">, and <input type="tel">
Create single line text inputs that cause custom keyboard to appear on some mobile browsers for easier data entry.
<input type="search">
is used for search fields (a search field behaves like a regular text field).
<input type="tel"
is used for input fields that should contain a telephone number.
<input type="url">
is used for input fields that should contain a URL address.
Level 97