html attributes Flashcards

1
Q

accept

A

Specifies the types of files that the server accepts (only for type=”file”)

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

accept-charset

A

Specifies the character encodings that are to be used for the form submission

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

accesskey

A

Specifies a shortcut key to activate/focus an element

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

action

A

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

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

alt

A

Specifies an alternate text when the original element fails to display

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

async

A

Specifies that the script is executed asynchronously (only for external scripts)

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

autocomplete

A

Specifies whether the or the element should have autocomplete enabled

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

autofocus

A

Specifies that the element should automatically get focus when the page loads

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

autoplay

A

Specifies that the audio/video will start playing as soon as it is ready

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

charset

A

Specifies the character encoding

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

checked

A

Specifies that an element should be pre-selected when the page loads (for type=”checkbox” or type=”radio”)

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

cite

A

Specifies a URL which explains the quote/deleted/inserted text

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

class

A

Specifies one or more classnames for an element (refers to a class in a style sheet)

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

color

A

Specifies the text color of an element. Use CSS instead

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

cols

A

Specifies the visible width of a text area

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

colspan

A

Specifies the number of columns a table cell should span

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

content

A

Gives the value associated with the http-equiv or name attribute

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

contenteditable

A

Specifies whether the content of an element is editable or not

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

controls

A

Specifies that audio/video controls should be displayed (such as a play/pause button etc)

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

coords

A

Specifies the coordinates of the area

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

data

A

Specifies the URL of the resource to be used by the object

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

data-*

A

Used to store custom data private to the page or application

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

datetime

A

Specifies the date and time

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

default

A

Specifies that the track is to be enabled if the user’s preferences do not indicate that another track would be more appropriate

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

defer

A

Specifies that the script is executed when the page has finished parsing (only for external scripts)

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

dir

A

Specifies the text direction for the content in an element

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

dirname

A

Specifies that the text direction will be submitted

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

disabled

A

Specifies that the specified element/group of elements should be disabled

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

download

A

Specifies that the target will be downloaded when a user clicks on the hyperlink

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

draggable

A

Specifies whether an element is draggable or not

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

dropzone

A

Specifies whether the dragged data is copied, moved, or linked, when dropped

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

enctype

A

Specifies how the form-data should be encoded when submitting it to the server (only for method=”post”)

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

for

A

Specifies which form element(s) a label/calculation is bound to

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

form

A

Specifies the name of the form the element belongs to

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

formaction

A

Specifies where to send the form-data when a form is submitted. Only for type=”submit”

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

headers

A

Specifies one or more headers cells a cell is related to

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

height

A

Specifies the height of the element

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

hidden

A

Specifies that an element is not yet, or is no longer, relevant

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

high

A

Specifies the range that is considered to be a high value

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

href

A

Specifies the URL of the page the link goes to

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

hreflang

A

Specifies the language of the linked document

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

http-equiv

A

Provides an HTTP header for the information/value of the content attribute

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

id

A

Specifies a unique id for an element

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

ismap

A

Specifies an image as a server-side image-map

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

kind

A

Specifies the kind of text track

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

label

A

Specifies the title of the text track

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

lang

A

Specifies the language of the element’s content

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

list

A

Refers to a element that contains pre-defined options for an element

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

loop

A

Specifies that the audio/video will start over again, every time it is finished

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

low

A

Specifies the range that is considered to be a low value

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

max

A

Specifies the maximum value

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

maxlength

A

Specifies the maximum number of characters allowed in an element

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

media

A

Specifies what media/device the linked document is optimized for

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

method

A

Specifies the HTTP method to use when sending form-data

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

min

A

Specifies a minimum value

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

multiple

A

Specifies that a user can enter more than one value

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

muted

A

Specifies that the audio output of the video should be muted

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

name

A

Specifies the name of the element

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

novalidate

A

Specifies that the form should not be validated when submitted

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

onabort

A

Script to be run on abort

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

onafterprint

A

Script to be run after the document is printed

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

onbeforeprint

A

Script to be run before the document is printed

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

onbeforeunload

A

Script to be run when the document is about to be unloaded

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

onblur

A

Script to be run when the element loses focus

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

oncanplay

A

Script to be run when a file is ready to start playing (when it has buffered enough to begin)

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

oncanplaythrough

A

Script to be run when a file can be played all the way to the end without pausing for buffering

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

onchange

A

Script to be run when the value of the element is changed

68
Q

onclick

A

Script to be run when the element is being clicked

69
Q

oncontextmenu

A

Script to be run when a context menu is triggered

70
Q

oncopy

A

Script to be run when the content of the element is being copied

71
Q

oncuechange

A

Script to be run when the cue changes in a element

72
Q

oncut

A

Script to be run when the content of the element is being cut

73
Q

ondblclick

A

Script to be run when the element is being double-clicked

74
Q

ondrag

A

Script to be run when the element is being dragged

75
Q

ondragend

A

Script to be run at the end of a drag operation

76
Q

ondragenter

A

Script to be run when an element has been dragged to a valid drop target

77
Q

ondragleave

A

Script to be run when an element leaves a valid drop target

78
Q

ondragover

A

Script to be run when an element is being dragged over a valid drop target

79
Q

ondragstart

A

Script to be run at the start of a drag operation

80
Q

ondrop

A

Script to be run when dragged element is being dropped

81
Q

ondurationchange

A

Script to be run when the length of the media changes

82
Q

onemptied

A

Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)

83
Q

onended

A

Script to be run when the media has reach the end (a useful event for messages like “thanks for listening”)

84
Q

onerror

A

Script to be run when an error occurs

85
Q

onfocus

A

Script to be run when the element gets focus

86
Q

onhashchange

A

Script to be run when there has been changes to the anchor part of the a URL

87
Q

oninput

A

Script to be run when the element gets user input

88
Q

oninvalid

A

Script to be run when the element is invalid

89
Q

onkeydown

A

Script to be run when a user is pressing a key

90
Q

onkeypress

A

Script to be run when a user presses a key

91
Q

onkeyup

A

Script to be run when a user releases a key

92
Q

onload

A

Script to be run when the element is finished loading

93
Q

onloadeddata

A

Script to be run when media data is loaded

94
Q

onloadedmetadata

A

Script to be run when meta data (like dimensions and duration) are loaded

95
Q

onloadstart

A

Script to be run just as the file begins to load before anything is actually loaded

96
Q

onmousedown

A

Script to be run when a mouse button is pressed down on an element

97
Q

onmousemove

A

Script to be run as long as the mouse pointer is moving over an element

98
Q

onmouseout

A

Script to be run when a mouse pointer moves out of an element

99
Q

onmouseover

A

Script to be run when a mouse pointer moves over an element

100
Q

onmouseup

A

Script to be run when a mouse button is released over an element

101
Q

onmousewheel

A

Script to be run when a mouse wheel is being scrolled over an element

102
Q

onoffline

A

Script to be run when the browser starts to work offline

103
Q

ononline

A

Script to be run when the browser starts to work online

104
Q

onpagehide

A

Script to be run when a user navigates away from a page

105
Q

onpageshow

A

Script to be run when a user navigates to a page

106
Q

onpaste

A

Script to be run when the user pastes some content in an element

107
Q

onpause

A

Script to be run when the media is paused either by the user or programmatically

108
Q

onplay

A

Script to be run when the media has started playing

109
Q

onplaying

A

Script to be run when the media has started playing

110
Q

onpopstate

A

Script to be run when the window’s history changes.

111
Q

onprogress

A

Script to be run when the browser is in the process of getting the media data

112
Q

onratechange

A

Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode).

113
Q

onreset

A

Script to be run when a reset button in a form is clicked.

114
Q

onresize

A

Script to be run when the browser window is being resized.

115
Q

onscroll

A

Script to be run when an element’s scrollbar is being scrolled

116
Q

onsearch

A

Script to be run when the user writes something in a search field (for )

117
Q

onseeked

A

Script to be run when the seeking attribute is set to false indicating that seeking has ended

118
Q

onseeking

A

Script to be run when the seeking attribute is set to true indicating that seeking is active

119
Q

onselect

A

Script to be run when the element gets selected

120
Q

onstalled

A

Script to be run when the browser is unable to fetch the media data for whatever reason

121
Q

onstorage

A

Script to be run when a Web Storage area is updated

122
Q

onsubmit

A

Script to be run when a form is submitted

123
Q

onsuspend

A

Script to be run when fetching the media data is stopped before it is completely loaded for whatever reason

124
Q

ontimeupdate

A

Script to be run when the playing position has changed (like when the user fast forwards to a different point in the media)

125
Q

ontoggle

A

Script to be run when the user opens or closes the element

126
Q

onunload

A

Script to be run when a page has unloaded (or the browser window has been closed)

127
Q

onvolumechange

A

Script to be run each time the volume of a video/audio has been changed

128
Q

onwaiting

A

Script to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)

129
Q

onwheel

A

Script to be run when the mouse wheel rolls up or down over an element

130
Q

open

A

Specifies that the details should be visible (open) to the user

131
Q

optimum

A

Specifies what value is the optimal value for the gauge

132
Q

pattern

A

Specifies a regular expression that an element’s value is checked against

133
Q

placeholder

A

Specifies a short hint that describes the expected value of the element

134
Q

poster

A

Specifies an image to be shown while the video is downloading, or until the user hits the play button

135
Q

preload

A

Specifies if and how the author thinks the audio/video should be loaded when the page loads

136
Q

readonly

A

Specifies that the element is read-only

137
Q

rel

A

Specifies the relationship between the current document and the linked document

138
Q

required

A

Specifies that the element must be filled out before submitting the form

139
Q

reversed

A

Specifies that the list order should be descending (9,8,7…)

140
Q

rows

A

Specifies the visible number of lines in a text area

141
Q

rowspan

A

Specifies the number of rows a table cell should span

142
Q

sandbox

A

Enables an extra set of restrictions for the content in an

143
Q

scope

A

Specifies whether a header cell is a header for a column, row, or group of columns or rows

144
Q

selected

A

Specifies that an option should be pre-selected when the page loads

145
Q

shape

A

Specifies the shape of the area

146
Q

size

A

Specifies the width, in characters (for ) or specifies the number of visible options (for )

147
Q

sizes

A

Specifies the size of the linked resource

148
Q

span

A

Specifies the number of columns to span

149
Q

spellcheck

A

Specifies whether the element is to have its spelling and grammar checked or not

150
Q

src

A

Specifies the URL of the media file

151
Q

srcdoc

A

Specifies the HTML content of the page to show in the

152
Q

srclang

A

Specifies the language of the track text data (required if kind=”subtitles”)

153
Q

srcset

A

Specifies the URL of the image to use in different situations

154
Q

start

A

Specifies the start value of an ordered list

155
Q

step

A

Specifies the legal number intervals for an input field

156
Q

style

A

Specifies an inline CSS style for an element

157
Q

tabindex

A

Specifies the tabbing order of an element

158
Q

target

A

Specifies the target for where to open the linked document or where to submit the form

159
Q

title

A

Specifies extra information about an element

160
Q

translate

A

Specifies whether the content of an element should be translated or not

161
Q

type

A

Specifies the type of element

162
Q

usemap

A

Specifies an image as a client-side image-map

163
Q

value

A

Specifies the value of the element

164
Q

width

A

Specifies the width of the element

165
Q

wrap

A

Specifies how the text in a text area is to be wrapped when submitted in a form