Beginner HTML
Advanced HTML Attribute List
Element List
Color List |
Tag Attributes
Attribute |
Related Elements |
Description |
abbr |
th, td |
Abbreviation for Header |
accept-charset |
form |
List of charsets |
accept |
form, input |
MIME type for upload |
accesskey |
a, area, button, input, label, legend, textarea |
Accessibility key character |
action |
form |
Server side form handler |
align |
caption, applet, iframe, img, input, object, legend, table, hr, div, h1-h6, p, col, colgroup, tbody, td, tfoot, th, thead, tr |
Align content top, middle, bottom, center, left, right, justify, char |
alink |
body |
Color of links |
alt |
applet, area, img, input |
Description |
archive |
applet, object |
Archive List |
axis |
td, th |
Comma seperated list of headers |
background |
body |
Color of body |
bgcolor |
table, tr, td, th ,body, table |
Back round color |
border |
table, img, object |
Width of border |
cellpadding |
table |
Spacing within cells |
cellspacing |
table |
Space between cells |
char |
col, colgroup, tbody, td, tfoot, th ,thead, tr |
Align char |
charoff |
col, colgroup, tbody, td, tfoot, th ,thead, tr |
Offset char |
charset |
a, link, script |
Encoding of link resource |
checked |
input |
Radio buttons and check boxes |
cite |
blockquote, q |
Quote material |
class |
all but base, basefont, head, html, param, meta, script, style, and title |
Seperated list of classes |
classid |
object |
Identifies a object |
clear |
br |
Control of text flow |
code |
applet |
Applet file |
codebase |
object |
Base of URI classid, data and archive |
codetype |
applet |
What code to use |
color |
basefont, font |
Text color |
cols |
frameset, textarea, |
Length in % or pixels |
colspan |
td, th |
Number of cols spanned by cell |
compact |
dir, dl, menu, ol, ul |
Reduce Spacing |
content |
meta |
Information |
coords |
area |
List of lengths (##,##) |
data |
object |
Ref to Object data |
datetime |
del, ins |
Date and time of change |
declare |
object |
Declare object |
dir |
all but applet, base, basefont, bdo, br, frame, frameset, iframe, param, script |
Direction for text |
disabled |
button, input, optgroup, option, select, textarea |
Unavailable |
enctype |
form |
encode type |
face |
basefont, font |
Font in list form |
for |
label |
Field id value |
frame |
table |
What part of frame to render |
frameborder |
frame, iframe |
Select frame border |
headers |
td, th |
Id's for header cells |
height |
iframe, td, th, img, object, applet |
Height of cells images etc |
href |
a, area, link, base |
URL for resource |
hreflang |
a, link |
Language Code |
hspace |
applet, img, object |
Horizontal space |
http-equiv |
meta |
HTTP respose header name |
id |
all but base, head, html, meta, script, style, title |
Document universal unique id |
ismap |
img, input |
Server side image map |
label |
option, optgroup |
Hierarchical Menus |
lang |
all but applet, base, basefont, br, frame, frameset, iframe, param, script |
Language code |
language |
script |
Predefined script language, etc Vbbasic, Javascipt |
link |
body |
Color of links |
longdesc |
img, frame, iframe |
Link to long description, for alt |
marginheight |
frame, iframe |
Margin height in pixels |
marginwidth |
frame, iframe |
Margin width in pixels |
maxlength |
input |
Max characters for text fields |
media |
style, link |
Media Descriptors |
method |
form |
Used to submit a form |
multiple |
select |
Single Selection |
name |
button, textarea, applet, select, form, frame, iframe, img, a, input, object, map, param, meta |
Allows to specify specific names for elements, to later call out later. |
nohref |
area |
No action |
noresize |
frame |
Window resize |
noshade |
hr |
|
nowrap |
td, th |
No word wrap |
object |
applet |
Applet file |
onblur |
a, area, button, input, label, select, textarea |
Lost focus |
onchange |
input, select, textarea |
Element value changed |
onclick |
all but applet, base, basefont, bdo, br, font, frame, frameset, head html, iframe, isindex, meta, param, script, style, title |
Mouse was clicked once or twice |
onfocus |
a, area, button, input, label, select, textarea |
Element has focus |
onkeydown |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Key was pressed |
onkeypress |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Key was pressed and released |
onkeyup |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
A key was released |
onload |
frameset, body |
When web page loads, Ex <body onload=""> |
onmousedown |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Mouse button pushed down |
onmousemove |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Mouse was moved within |
onmouseout |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Mouse was moved away |
onmouseover |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Mouse moved onto |
onmouseup |
all but applet, base, basefont, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title |
Mouse button was released |
onreset |
form |
Form reset |
onselect |
input, textarea |
Text selected |
onsubmit |
form |
When form i submitted |
onunload |
body, frameset |
Document or frames are removed |
profile |
head |
Dictionary of meta information |
prompt |
isindex |
Prompt message |
readonly |
input, textarea |
Read only ex passwords |
rel |
a, link |
Forward link |
rev |
a, link |
Reverse Link |
rows |
frameset, textarea |
List of lengths |
rowspan |
td, th |
Number of rows in a cell |
rules |
table |
Ruling between rows and cols |
scheme |
meta |
Select form of content |
scope |
td, th |
Scope of header cells |
scrolling |
frame, iframe |
Scrollbar |
selected |
option |
Select |
shape |
a |
Set of coords |
size |
area, basefont, font, hr, input, select |
Size |
span |
col, colgroup |
Number of columns in a group |
src |
frame, iframe, img, input, script |
Source for links |
standby |
object |
Message while loading |
start |
ol |
Start sequence number |
style |
all but base, basefont, head, html, meta, param, script, style, title |
How test will be displayed |
summary |
table |
Purpose for output |
tabindex |
a, area, button, input, object, select, textarea |
Position in tabbing order |
target |
a, area, base, form, link |
Render in frame |
text |
body |
Test color |
title |
all but base, basefont, head, html, meta, param, script, title |
Title |
type |
a, link, object, param, script, style, input, li, ol ,ul, button |
Content type |
usemap |
img, input, object |
Client Side image map |
valign |
col, colgroupt, tbody, td, tfoot, th, thead, tr |
Vertical Alignment |
value |
input, option, param, button, li, |
Property value |
valuetype |
param |
How to interpret value |
version |
html |
Constant |
vlink |
body |
Color of visited link |
vspace |
applet, img, object |
Vertical gutter |
width |
hr, iframe, img, object, table, td, th, applet, col, colgroup, pre |
Width |
|