IES: HTML-recog dk15 Flashcards

1
Q
  • Used to submit a form in place of a regular submit button.
  • Created : specifying an “image” value to the type attribute of an input tag; including an alt attribute.
  • When a form is submitted by this, the XY coordinates of the point at which the click occurred are automatically submitted as key=value pairs along with the rest of the form data.
A

Image buttons

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • A regular img tag can be used as this by attaching a behavior with script.
  • With this, validation can usually be incorporated (an image used in this way is given an identity so as to attach the behavior).
  • Validation example: checking an entry to see if it follows the set pattern of an email address.
A

Script-enabled image button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • From this, the user can select one option to include its associated data for submission to the server.
  • Will normally appear as a single-line drop-down list unless a “size” attribute is included in the select tag specifying the number of rows to be visible.
  • Created: using select tags; must include a name attribute specifying a list name; the select element encloses option tags defining each option; each option tag must include a value attribute specifying an option value.
  • When the form is submitted, the list name and the selected option value are sent as a name=value pair.
  • Optionally, The option tag may include a Boolean “selected” attribute to automatically select that option (including this provides a default choice).
A

Select option list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • Created: using button tags; enclosing an img element specifying the URL of a logo image; specifying text that would appear on the button face; should include a type attribute to specify a scripting “button” type, a “submit” form type; OR a “reset” form type.
  • Scripting buttons can use an “onclick” attribute to specify the button’s function, or directly specify a snippet of script to execute.
A

Logo push buttons

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • Provides a simple autocomplete feature for a text input element enclosing a number of predefined <option> values.</option>
  • User may choose any one of the options, or enter text directly into the input field (you may need to double-click the input field to override your browser’s own autocomplete suggestions).
  • Created: must include an ID attribute (specifying a list name) to associate the input field with the list; the specified ID list name must then be specified to a “list” attribute to send the input tag to create the association; the input tag must also include a name attribute to send to the server.
  • The key=value pair submitted to the server is the specified list name and the input value selected from the options or entered directly by the user.
A

<datalist>
</datalist>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • Element used to group related options in a <select> element.</select>
  • With a long list of options, this makes handling easier for user.
  • Option-group name specified to a “label” attribute.
  • The attribute disabled specifies that an option-group should be disabled.
A

<optgroup>
</optgroup>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  • Can enclose text that is to be associated with a form control (a form control is any input, button, or textarea element).
  • Alternatively, can simply enclose both the text and the control element to make the association (this allows styling to be applied to the entire label: often useful to distinguish the control associated with a particular text).
  • Can include a “for” attribute specifying the value assigned to the control’s ID attribute to make the association.
A

<label></label>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  • <input></input>
  • <button></button>
  • <textarea>
    </textarea>
A

Form control elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  • Each form control element may include this attribute to specify its tabbing order within the doc as a unique value between 0 and 32,767.
  • Using the Tab Key, the user can navigate the doc ascending through the tabindex values.
  • This attribute can also be included in any <a>, <area></area>, <object>, or <select> tag.</select></object></a>
A

tabindex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • The superscript (entity) specifies inline text typically with a raised baseline using smaller font
  • Superscript entity appears smaller than the superscript element; thus unlike the element, it maintains line spacing uniformity.
  • Displayed for solely typographical reasons.
  • Availability of character entity references is limited.
A

&sup(#); (or) &#code(#);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A
17
Q
A
18
Q
A
19
Q
A
20
Q
A