getAttribute()

This method is used to retrieve the values of the attribute within the current element.

syntax:

getAttribute(Attribute , case sensitive TRUE or FALSE)

This method is used with the following:

A
ACRONYM
ADDRESS
APPLET
AREA
B
BASE
BASEFONT
BGSOUND
BIG
BLOCKQUOTE
BODY
BR
BUTTON
CAPTION
CENTER
CITE
CODE
COL
COLGROUP
COMMENT
DD
DEL
DFN
DIR
DIV
DL
DT
EM
EMBED
FIELDSET
FONT
FORM
FRAME
FRAMESET
H1
H2
H3
H4
H5
H6
HEAD
HR
HTML
I
IFRAME
IMG
INS
KBD
LABEL
LEGEND LI
LINK
LISTING
MAP
MARQUEE
MENU
META
OBJECT
OL
OPTION
P
PLAINTEXT
PRE
Q
S
SAMP
SCRIPT
SELECT
SMALL
SPAN
STRIKE
STRONG
STYLE
SUB
SUP
TABLE
TBODY
TD
TEXTAREA
TFOOT
TH
THEAD
TITLE
TR
TT
U
UL
VAR
XMP
button
checkbox
fileUpload
hidden
password
radio
reset
style
submit
text
userProfile