Week 2 Flashcards
specifies a regular expression to check the input value against
pattern
The HTML ………… element is a container for SVG graphics
<svg>
</svg>
The ………. attribute specifies the visible width of a text area
cols
specifies the legal number intervals for an input field
step
By default, the first item in the drop-down list is selected
(T/F)
True
To define a pre-selected option, add the ………….. attribute to the option
selected
The HTML …………. element is used to create an HTML form for user input
<form>
</form>
each input field must have a name attribute to be submitted
(T/F)
True
specifies that an input field should be disabled
disabled
The <input></input> defines a button for submitting the form data to a
form-handler
submit
specifies the default value for an input field
value
…………. is raster based and composed of pixel
Canvas
specifies that the form should not be validated when submitted
novalidate
……….. is good for non-secure data, like query strings in Google
GET
………………… defines a password field
<input></input>
specifies where to send the form-data when a form is submitted
action
The response is displayed in the current window using ……… value
_self
………. has several methods for drawing paths, boxes, circles, text, and graphic images.
SVG
The ………….. attribute specifies the visible number of lines in a text area
rows
When autocomplete is ……….., the browser automatically complete values based on values that the user has entered before
on
Always use ……….. if the form data contains sensitive or personal information
POST
………. can be printed with high quality at any resolution
SVG
An …………… element can be displayed in many ways, depending on the type
attribute
<input></input>
The ………… element represents the result of a calculation (like one performed by a script)
<output>
</output>
The ………….. element specifies a list of pre-defined options for an <input></input>
element
<datalist>
</datalist>
specifies that an input field is required (must be filled out)
required
specifies the relationship between a linked resource and the current document
rel
usually, the form data is sent to a file on the server when the user clicks on the
…………
submit button
The form-handler is specified in the form’s ……….. attribute
action
The ………. attribute of the <input></input> element, must refer to the id attribute of the ……… element
list, <datalist></datalist>
<input></input> defines a reset button that will reset all form values to their default values
reset
specifies that an input field is read only (cannot be changed)
readonly
The …………….. elements defines an option that can be selected
<option></option>
The HTML <canvas> element is used to draw graphics, via ...............</canvas>
JavaScript
Different browsers may use different default types for the button element
(T/F)
True
The response is displayed in the full body of the window using ……… value
_top
specifies the width (in characters) of an input field
size
Form submissions with …………. cannot be bookmarked
POST
After creating the rectangular canvas area, you must add a …………. to do the drawing
JavaScript
a ……….. field behaves like a
regular text field
search
…………. let a user select
ZERO or MORE options of a limited number of choices
Checkboxes
………. has several methods for drawing paths, boxes, circles, text, and adding
images
Canvas
…………… let a user select ONE of a limited number of choices
Radio buttons