Week 2 Flashcards

1
Q

specifies a regular expression to check the input value against

A

pattern

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

The HTML ………… element is a container for SVG graphics

A

<svg>
</svg>

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

The ………. attribute specifies the visible width of a text area

A

cols

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

specifies the legal number intervals for an input field

A

step

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

By default, the first item in the drop-down list is selected
(T/F)

A

True

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

To define a pre-selected option, add the ………….. attribute to the option

A

selected

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

The HTML …………. element is used to create an HTML form for user input

A

<form>
</form>

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

each input field must have a name attribute to be submitted
(T/F)

A

True

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

specifies that an input field should be disabled

A

disabled

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

The <input></input> defines a button for submitting the form data to a
form-handler

A

submit

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

specifies the default value for an input field

A

value

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

…………. is raster based and composed of pixel

A

Canvas

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

specifies that the form should not be validated when submitted

A

novalidate

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

……….. is good for non-secure data, like query strings in Google

A

GET

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

………………… defines a password field

A

<input></input>

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

specifies where to send the form-data when a form is submitted

A

action

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

The response is displayed in the current window using ……… value

A

_self

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

………. has several methods for drawing paths, boxes, circles, text, and graphic images.

A

SVG

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

The ………….. attribute specifies the visible number of lines in a text area

A

rows

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

When autocomplete is ……….., the browser automatically complete values based on values that the user has entered before

A

on

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

Always use ……….. if the form data contains sensitive or personal information

A

POST

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

………. can be printed with high quality at any resolution

A

SVG

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

An …………… element can be displayed in many ways, depending on the type
attribute

A

<input></input>

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

The ………… element represents the result of a calculation (like one performed by a script)

A

<output>
</output>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The .............. element specifies a list of pre-defined options for an element
26
specifies that an input field is required (must be filled out)
required
27
specifies the relationship between a linked resource and the current document
rel
28
usually, the form data is sent to a file on the server when the user clicks on the ............
submit button
29
The form-handler is specified in the form's ........... attribute
action
30
The .......... attribute of the element, must refer to the id attribute of the ......... element
list,
31
defines a reset button that will reset all form values to their default values
reset
32
specifies that an input field is read only (cannot be changed)
readonly
33
The ................. elements defines an option that can be selected
34
The HTML element is used to draw graphics, via ...............
JavaScript
35
Different browsers may use different default types for the button element (T/F)
True
36
The response is displayed in the full body of the window using ......... value
_top
37
specifies the width (in characters) of an input field
size
38
Form submissions with ............. cannot be bookmarked
POST
39
After creating the rectangular canvas area, you must add a ............. to do the drawing
JavaScript
40
a ........... field behaves like a regular text field
search
41
............. let a user select ZERO or MORE options of a limited number of choices
Checkboxes
42
.......... has several methods for drawing paths, boxes, circles, text, and adding images
Canvas
43
............... let a user select ONE of a limited number of choices
Radio buttons
44
............ is used to define graphics for the Web
SVG
45
.......... can be modified through script and CSS
SVG
46
You cannot use the min and max attributes to add restrictions to dates (T/F)
False
47
............is vector based and composed of shapes
SVG
48
The is used for ......... fields
search
49
A ............ is a rectangular area on an HTML page
canvas
50
The ............. element also help users who have difficulty clicking on very small regions (such as radio buttons or checkboxes)
51
specifies that an input field should be pre-selected when the page loads (for type="checkbox" or type="radio")
checked
52
When ............... present, it specifies that the form-data (input) should not be validated when submitted
novalidate attribute
53
The ........... element is a container for different types of input elements, such as: text fields, checkboxes, radio buttons, submit buttons, etc
54
The response is displayed in a new window or tab using .......... value
_blank
55
The length of a URL is limited (2048 characters) (T/F)
True
56
............ gives better performance with smaller number of objects or larger surface
SVG
57
In numeric input field, You can also set restrictions on what numbers are accepted (T/F)
True
58
The ........... attribute is a boolean attribute
novalidate
59
The response is displayed in a named iframe using ......... value
framename
60
The ............... attribute specifies where to display the response that is received after submitting the form
target
61
The .......... attribute defines the action to be performed when the form is submitted
action
62
The form-data can be sent as URL variables (with method="............") or as HTTP post transaction (with method=".........")
get, post
63
The .............. is typically a file on the server with a script for processing input data
form-handler
64
specifies the name of the form
name
65
specifies the minimum value for an input field
min
66
The ............. attribute specifies whether a form should have autocomplete on or off
autocomplete
67
The ............... element defines a drop-down list