HTML Forms

0.0(0)
studied byStudied by 2 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/51

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

52 Terms

1
New cards
element

One of the most used form elements, whose display depends on the type attribute

2
New cards
element default type

If the type attribute is omitted, the input field gets the default type: "text"

3
New cards

Defines a drop-down list

4
New cards

Defines an option that can be selected in a drop-down list

5
New cards

Default selected option in

The first item in the drop-down list is selected by default

6
New cards

selected attribute

Used to define a pre-selected option within an

7
New cards

size attribute (in

Specifies the number of visible values in a drop-down list

8
New cards

multiple attribute (in

Allows the user to select more than one value in a drop-down list

9
New cards

Defines a multi-line input field (a text area)

10
New cards

rows attribute (in

Specifies the visible number of lines in a text area

11
New cards

cols attribute (in

Specifies the visible width of a text area

12
New cards

Defines a clickable button

13
New cards

type attribute for

Always specify this attribute for the button element, as different browsers may use different default types

14
New cards
element

Used to group related data in a form

15
New cards
element

Defines a caption for the

element

16
New cards
element

Specifies a list of pre-defined options for an element

17
New cards

list attribute (in )

Must refer to the id attribute of the element to show pre-defined options

18
New cards

Defines a single-line text input field

19
New cards

Defines a password field

20
New cards

Defines a button for submitting form data to a form-handler

21
New cards

Form-handler

Typically a server page with a script for processing input data

22
New cards

Defines a reset button that will reset all form values to their default values

23
New cards

Defines a radio button that lets a user select ONLY ONE of a limited number of choices

24
New cards

Defines a checkbox that lets a user select ZERO or MORE options of a limited number of choices

25
New cards

Defines a button (often used for scripting)

26
New cards

Used for input fields that should contain a color

27
New cards

Used for input fields that should contain a date

28
New cards

Specifies a date and time input field, with no time zone

29
New cards

Used for input fields that should contain an e-mail address

30
New cards

Allows the user to select a month and year

31
New cards

Defines a file-select field and a "Browse" button for file upload

32
New cards

Defines a numeric input field

33
New cards

Defines a control for entering a number whose exact value is not important (like a slider control); default range is 0 to 100

34
New cards

Used for search fields (behaves like a regular text field)

35
New cards

Used for input fields that should contain a telephone number

36
New cards

Allows the user to select a time (no time zone)

37
New cards

Used for input fields that should contain a URL address

38
New cards

Allows the user to select a week and year

39
New cards

value attribute (in )

Specifies an initial value for an input field

40
New cards

readonly attribute (in )

Specifies that an input field is read-only and cannot be modified, but its value will be sent upon form submission

41
New cards

disabled attribute (in )

Specifies that an input field should be disabled (unusable and un-clickable), and its value will NOT be sent upon form submission

42
New cards

size attribute (in )

Specifies the visible width, in characters, of an input field; default value is 20

43
New cards

maxlength attribute (in )

Specifies the maximum number of characters allowed in an input field (requires JavaScript for feedback)

44
New cards

min and max attributes (in )

Specify the minimum and maximum values for an input field

45
New cards

multiple attribute (in )

Specifies that the user is allowed to enter more than one value in an input field; works with email and file types

46
New cards

pattern attribute (in )

Specifies a regular expression that the input field's value is checked against when the form is submitted; works with text, date, search, url, tel, email, and password

47
New cards

placeholder attribute (in )

Specifies a short hint describing the expected value, which is displayed in the input field before the user enters a value

48
New cards

required attribute (in )

Specifies that an input field must be filled out before submitting the form

49
New cards

step attribute (in )

Specifies the legal number intervals for an input field

50
New cards

autofocus attribute (in )

Specifies that an input field should automatically get focus when the page loads

51
New cards

height and width attributes (in )

Specify the height and width of an element

52
New cards

autocomplete attribute (in or

)

Specifies whether a form or input field should have autocomplete on or off, allowing the browser to predict the value based on earlier typed value