html - Attributes Flashcards Preview

Hypertext Markup Language > html - Attributes > Flashcards

Flashcards in html - Attributes Deck (161):
2

abbr

Specifies that a string is an abbreviation for a longer word or phrase.

3

above

Name of the layer above the element.

4

accept

Specifies accepted MIME types for file uploads.

5

accept-charset

Comma or space-delimited list of character encodings that are accepted by the server processing the form.

6

accesskey

Hot-key shortcut for the element.

7

action

URL for submitting the form.

8

align

Defines the alignment of the element.

9

alink

Specifies the color for active links in the document. Specify either a color name or RGB color.

10

allowtransparency

Specifies whether the background of the element may be transparent.

11

alt

Specifies alternative text to display if the element cannot be displayed as expected.

12

application

Specifies whether the content of the element is considered an HTA application.

13

archive

URL or list of URLs that need to be preloaded for the element.

14

autocomplete

Specifies whether form autocompletion, which automatically completes the fields on a form after the user has typed enough letters, is on or off.

15

axis

Specifies a name for a group of headers.

16

background

Specifies the URL for the background image for the document or element.

17

balance

Number between -10000 and +10000 that specifies the sound balance for the left and right speakers.

18

behavior

Specifies the movement behavior of the element.

19

below

Name of the layer below the element.

20

bgcolor

Specifies the background color for the document or element. Specify either a color name or RGB color.

21

bgproperties

If set, specifies that the background image is fixed and will not scroll.

22

border

Width (in pixels) of the border around the element.

23

bordercolor

Specifies the color of the border of the element. Specify either a color name or RGB color code.

24

bordercolordark

Specifies the darker color of the border of the element, if the element has a 3D effect. Specify either a color name or RGB color code.

25

bordercolorlight

Specifies the lighter color of the border of the element, if the element has a 3D effect. Specify either a color name or RGB color code.

26

bottommargin

Bottom margin for the body of the document.

27

cellpadding

Number of pixels between the content of a cell and the edge of a cell.

28

cellspacing

Number of pixels between cells.

29

char

Specifies which character to use to set the alignment for the element.

30

charoff

Number of characters to offset the other column characters from the character specified by char.

31

charset

Specifies the character set associated with the element.

32

checked

If present, specifies that the element should be checked.

33

cite

Specifies that the enclosed text is a citation from another source.

34

class

CSS class assigned to the element.

35

clear

Specifies how the text flows with regards to any surrounding elements.

36

clip

Specifies x,y coordinates of the upper left and lower right corners of the element.

37

code

Specifies that the enclosed text is programming code and should be formatted appropriately.

38

codebase

URL for the code base for the element.

39

color

Name of the color or RGB code for the color for the element.

40

cols

Number of characters wide that the element should be.

41

colspan

Number of columns that the element should span.

42

compact

If true, specifies that the element should be visually compressed by compacting whitespace between its child elements.

43

content

High-level meta description of the contents of the document.

44

contenteditable

Specifies whether or not the content of the element is editable, or if the element inherits the value of this property from its parent.

45

coords

Comma-delimited x, y coordinates for the element.

46

data (comment)

Specifies a reference URL for the comment.

47

data

Specifies a reference URL for the comment.

48

datafld

For a databound element, specifies the field supplying the data.

49

dataformatas

Specifies whether the element treats data as plain text or as html.

50

datapagesize

For a databound element, specifies the number of records to display in the element.

51

datasrc

For a databound element, specifies the id of the data source.

52

datetime

Specifies the date and time that the element was modified.

53

declare

If present, declares the object associated with the element, but does not instantiate it.

54

defer

If present, specifies that execution of the element is deferred.

55

dir

Specifies that the enclosed text is a directory list of short, unordered items.

56

direction

Specifies the direction of movement for the element text.

57

disabled

Specifies whether or not the element is disabled.

58

dynsrc

URL of a video clip file.

59

enctype

Specifies the MIME type for the element data being sent to the server.

60

event

Specifies the event handler for the element.

61

face

Name of the font. You can specify more than one font face.

62

for

Id corresponding to the form or event associated with the element.

63

frame

Defines a window-like frame (as a child of a frameset).

64

frameborder

Specifies whether the frame has a border.

65

framespacing

Number of pixels between frames.

66

galleryimg

Specifies whether the image toolbar is visible.

67

headers

Space-delimited list of header cell id's for header cells that are related to the element.

68

height

Height of the element (in pixels).

69

hidden

If true, specifies that the element is hidden.

70

hidefocus

Specifies whether the element shows a visual cue when it has focus.

71

href

Path or URL for the linked document or object.

72

hreflang

Language of the linked document.

73

hspace

Number of pixels of space to the left and right of the element (i.e. horizontal margin).

74

http-equiv

Sets an HTTP response header for the value in the content attribute.

75

id

Unique identifier for the element.

76

label

Defines a label on a form.

77

lang

Language code for the content of the element.

78

language (script)

Specifies the scripting language.

79

language

Specifies the scripting language.

80

left

Number of pixels that the element is offset from the left.

81

leftmargin

Left margin for the body of the document.

82

link

Defines the relationship between the current document and another document.

83

longdesc

URL that contains a long description of the contents of the element.

84

loop

Number of times to loop the media file. Specify "infinite" for a continuous loop.

85

lowsrc

URL for a low-resolution version of an image.

86

marginheight

Top and bottom margins (in pixels) for the document.

87

marginwidth

Left and right margins (in pixels) for the document.

88

maxlength

Maximum number of characters that a user may type into the element.

89

mayscript

If true, indicates that scripts in the document may access the applet.

90

media

Media type associated with the element.

91

method

Specifies the method to use to transfer form data to the server.

92

methods

Possible methods that may be called on the element.

93

multiple

If present, specifies that a user can select multiple options.

95

nohref

If present, specifies that the element has no href.

96

noresize

If present, specifies that the element cannot be resized.

97

noshade

If present, specifies that the element should not have shading.

98

nowrap

If present, specifies that the element text should not wrap.

99

object

Defines an object embedded in the document.

100

overflow

Specifies whether to "clip" the content of the layer if the content exceeds the layer boundaries, or leave the content as-is.

101

pagex

Horizontal position of the element in the browser window.

102

pagey

Vertical position of the element in the browser window.

103

palette

Specifies whether to use the background or foreground color palette for the element.

104

pluginspage

Specifies a web page with installation information for the plugin for the element.

105

point-size

Specifies the point size of the font.

106

profile

Specifies the URL for the meta-information dictionary.

107

readonly

If present, specifies that the element is read-only.

108

rel

Defines the relationship of the linked document to the current document.

109

rev

Defines the relationship of the current document to the linked document.

110

rightmargin

Right margin (in pixels) for the body of the document.

111

rows

Number of rows in the element.

112

rowspan

Number of rows that the element should span.

113

rules

Specifies the dividing rules for the element.

114

scheme

Specifies the scheme for the value of the content attribute.

115

scope

Specifies cells that the element is a header for.

116

scroll

Specifies whether or not scroll bars are visible.

117

scroll

Specifies whether or not scroll bars are visible.

118

scrollamount

Specifies the number of pixels between the end of one block of content and the start of the next while scrolling.

119

scrolldelay

Specifies the delay (in milliseconds) between the end of one block of scrolling content and the start of the next.

120

scrolling

Specifies whether or not the element has scroll bars.

121

selected

If present, specifies that the element selected by default.

122

shape

For an anchor that defines a hyperlink, shape of the selectable hypertext region.

123

size

Size of the element.

124

span

Span element used to surround content blocks for formatting.

125

src

URL for the source for the element.

126

standby

Text content to dislay while the object associated with the element loads.

127

style

Creates a style sheet within the document.

128

summary

Summary of the contents of the element.

129

tabindex

Position of the element in the tabbing order for the document.

130

target

Target window to use for opening the linked document.

131

text

Specifies the color for text of the document. Specify either a color name or RGB color.

132

title

Specifies the title of the HTML document.

133

top

Number of pixels that the element is offset from the top.

134

truespeed

If present, specifies that the scrolldelay value should not be rounded up to 60 milliseconds.

135

type - a

Specifies the type of linked file.

136

type - button

Specifies the type of linked file.

137

type - embed

Specifies the type of linked file.

138

type - input

Specifies the type of linked file.

139

type - li

Specifies the type of linked file.

140

type - link

Specifies the type of linked file.

141

type - object

Specifies the type of linked file.

142

type - ol

Specifies the type of linked file.

143

type - param

Specifies the type of linked file.

144

type - script

Specifies the type of linked file.

145

type - style

Specifies the type of linked file.

146

type - ul

Specifies the type of linked file.

147

units

Specifies the unit for the height and width of the element.

148

unselectable

Specifies whether or not the element is unselectable.

149

urn

Uniform resource name (URN) for the link.

150

usemap

Specifies a URL to use for an image map or object map.

151

valign

Vertical alignment of the element.

152

value

Text containing the value of the element.

153

valuetype

Specifies the type of value for the element.

154

visibility

Specifies whether the element is hidden or shown.

155

vlink

Specifies the color for visited links in the document. Specify either a color name or RGB color.

156

volume

Number between -10000 and 0 that specifies the volume for the sound file.

157

vspace

Number of pixels of space above and below the element (i.e. vertical margin).

158

weight

Specifies the weight of the font.

159

width

Width of the element (pixels or percentage).

160

wrap

Specifies word wrap behavior within the element.

161

xml:space

If set, specifies whether to override the default whitespace handling within the element.

162

xmlns

Namespace for XML-based tags.

163

z-index

Positive integer specifying where an element is stacked in relation to other layers.