Forms Flashcards

1
Q

HTML Forms

element that wraps all of the elements included within the form

A

[form]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

HTML Forms

[form] attribute that contains the URL to which information included within the form will be sent for processing by the server

A

action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HTML Forms

[form] attribute that defines the HTTP method browsers should use to submit the form data

A

method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTML Forms

one of the primary elements used to obtain text from users

A

[input]

self closing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTML Forms

[input] attribute used to define what kind of information is to be captured within the control

A

type

ex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

HTML Forms

[input] type attribute value used to specify a push button with no default behavior

A

button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

HTML Forms

[input] type attribute value used to specify a checkbox

A

checkbox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

HTML Forms

[input] type attribute value used to specify a color

A

color

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

HTML Forms

[input] type attribute value used to specify a year, month and day with no time

A

date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

HTML Forms

[input] type attribute value used to specify a date and time, with no timezone

A

datetime-local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

HTML Forms

[input] type attribute value used to specify an email address

A

email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

HTML Forms

[input] type attribute value used to specify a file chosen by the user

A

file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

HTML Forms

css pseudo-classes applied to email input types after validation

A

:valid and :invalid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

HTML Forms

attribute used with file input types to specify what kinds of files the server will accept

A

accept

ex

accept=”image/*”

accept=”audio/*”

accept=”video/*”

accept=”.some_ext,image/*”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

HTML Forms

[input] type attribute value used to specify a control that is not displayed but whose value is submitted to the server

A

hidden

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

HTML Forms

[input] type attribute value used to specify a graphical submit button

A

image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

HTML Forms

attributes that must be used with image input types to specify the location of the image and the alternate text

A

src, alt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

HTML Forms

attributes that can be used with image input types to specify the dimensions of the image in pixels

A

height, width

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

HTML Forms

[input] type attribute value used to specify a month and year, with no timezone

A

month

20
Q

HTML Forms

[input] type attribute value used to specify a floating point number

A

number

21
Q

HTML Forms

[input] type attribute value used to specify a single line text field whose value is obscured

A

password

22
Q

HTML Forms

attribute used with password input types to specify the maximum length of the value that can be entered

A

maxlength

23
Q

HTML Forms

[input] type attribute value used to specify a radio button

A

radio

24
Q

HTML Forms

attribute that must be used with radio input types to define the value submitted by this item

A

value

25
Q

HTML Forms

attribute used with radio input types to specify whether the item is selected by default

A

checked

26
Q

HTML Forms

attribute used to group radio input types together

A

name

27
Q

HTML Forms

[input] type attribute value used to specify a number whose exact value isn’t important

A

range

28
Q

HTML Forms

attributes used with range input type to specify the size and starting points of the range

A

min: 0
max: 100
value: min + (max-min)/2, or min if max is less than min
step: 1

29
Q

HTML Forms

[input] type attribute value used to specify a button that sets the form contents to default values

A

reset

30
Q

HTML Forms

[input] type attribute value used to specify a single-line text field for entering search strings

A

search

31
Q

HTML Forms

characters that are automatically stripped from search input types

A

linebreaks

32
Q

HTML Forms

[input] type attribute value used to specify phone numbers

A

tel

33
Q

HTML Forms

attribute that can be used to validate input based on a regular expression

A

pattern

34
Q

HTML Forms

attributes that can be used with tel input types to enforce a certain syntax

A

maxlength, pattern

35
Q

HTML Forms

[input] type attribute value used to specify a single-line text field

A

text

36
Q

HTML Forms

[input] type attribute value used to specify a time with no time zone

A

time

37
Q

HTML Forms

[input] type attribute value used to specify a url

A

url

38
Q

HTML Forms

attribute used with input elements that specifies the id of the form to which the element belongs; allows you to put a form field anywhere the page

A

form

39
Q

HTML Forms

attribute used to specify the name of the element; this value is submitted with the form data

A

name

40
Q

HTML Forms

attribute used to display a hint to the user as to what can be entered int the control

A

placeholder

41
Q

HTML Forms

attribute used to indicate that the user cannot modify the value of the control

A

readonly

42
Q

HTML Forms

attribute used to indicate that the user must fill in a value before submitting a form

A

required

43
Q

element used to accept multi-line plain text

A

[textarea]

44
Q

[textarea] attribute used to specify the visible width of the text control

A

cols

default 20

45
Q

element that represents a caption for an item in a user interface

A

[label]

46
Q

2 ways that a control element can be associated with a specific label

A

by placing the control element inside of the [label] element or by using the for attribute

47
Q

element that represents a control that presents a menu of options

A

[select]