HTML5 and JavaScript: Forms and Form Elements

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering HTML form basics, traditional input types, HTML5 specific input controls, and other essential form elements such as select, textarea, and button.

28 Terms

1
New cards

HTML Form

A section of a document containing normal content, markup, special elements called controls (checkboxes, radio buttons, menus, etc.), and labels on those controls.

2
New cards

Controls

Special elements within an HTML form (such as checkboxes, radio buttons, menus, etc.) that users modify before submitting the form to an agent for processing.

3
New cards

The HTML tag used to define an HTML form.

4
New cards

The most used form element, whose specific behavior and appearance are specified by the type attribute.

5
New cards

type="text"

Defines a one-line input field for normal text input, with a default field width of 20 characters.

6
New cards

type="radio"

Defines a radio button input used to let the user select one of a limited number of choices.

7
New cards

type="checkbox"

Defines a checkbox input used to let the user select one or more options of a limited number of choices.

8
New cards

type="submit"

Defines a submit button that sends the content of the form to another file specified in the action attribute.

9
New cards

action

An attribute of the

element that defines the name of the file to send the form-data to when the submit button is clicked.

10
New cards

type="password"

Defines a password field where the entered characters are masked and displayed as asterisks or circles.

11
New cards

type="button"

An element type that defines a clickable button input.

12
New cards

type="number"

An HTML5 input type used for fields that should contain a numeric value, allowing numerical restrictions such as min and max.

13
New cards

type="date"

An HTML5 input type used to input a date, which can display a date picker and accept min and max date restrictions.

14
New cards

type="color"

An HTML5 input type used to input or select a color.

15
New cards

type="month"

An HTML5 input type that allows the user to select a month and year, which may prompt a date picker pop-up depending on browser support.

16
New cards

type="week"

An HTML5 input type that allows the user to select a week and year.

17
New cards

type="range"

An HTML5 input type used for fields containing a value within a specified range, typically displayed as a slider control depending on browser support.

18
New cards

type="datetime-local"

An HTML5 input type that allows the user to select both a date and a time with no time zone.

19
New cards

type="time"

An HTML5 input type that allows the user to select a time with no time zone.

20
New cards

type="email"

An HTML5 input type for fields that must contain an email address; browsers can automatically validate it upon submission, and some smartphones add ".com" to the keyboard.

21
New cards

type="tel"

An HTML5 input type used for input fields intended to contain a telephone number.

22
New cards

type="search"

An HTML5 input type used for search fields that behaves like a regular text field.

23
New cards

type="url"

An HTML5 input type used for fields that should contain a URL address; can be automatically validated upon form submission.

24
New cards

An HTML element that defines a drop-down list.

25
New cards

An HTML element used inside a

26
New cards

selected

An attribute added to an

27
New cards

An HTML element that defines a multi-line text input field, commonly configured with rows and cols attributes.

28
New cards

An HTML element that defines a clickable button.