You determine the type of a tag by comparing it against these 73 mnemonic
constants from the HTML.Tag
class:
HTML.Tag.A
HTML.Tag.ADDRESS
HTML.Tag.APPLET
HTML.Tag.AREA
HTML.Tag.B
HTML.Tag.BASE
HTML.Tag.BASEFONT
HTML.Tag.BIG
HTML.Tag.BLOCKQUOTE
HTML.Tag.BODY
HTML.Tag.BR
HTML.Tag.CAPTION
HTML.Tag.CENTER
HTML.Tag.CITE
HTML.Tag.CODE
HTML.Tag.DD
HTML.Tag.DFN
HTML.Tag.DIR
HTML.Tag.DIV
HTML.Tag.DL
HTML.Tag.DT
HTML.Tag.EM
HTML.Tag.FONT
HTML.Tag.FORM
HTML.Tag.FRAME
HTML.Tag.FRAMESET
HTML.Tag.H1
HTML.Tag.H2
HTML.Tag.H3
HTML.Tag.H4
HTML.Tag.H5
HTML.Tag.H6
HTML.Tag.HEAD
HTML.Tag.HR
HTML.Tag.HTML
HTML.Tag.I
HTML.Tag.IMG
HTML.Tag.INPUT
HTML.Tag.ISINDEX
HTML.Tag.KBD
HTML.Tag.LI
HTML.Tag.LINK
HTML.Tag.MAP
HTML.Tag.MENU
HTML.Tag.META
HTML.Tag.NOFRAMES
HTML.Tag.OBJECT
HTML.Tag.OL
HTML.Tag.OPTION
HTML.Tag.P
HTML.Tag.PARAM
HTML.Tag.PRE
HTML.Tag.SAMP
HTML.Tag.SCRIPT
HTML.Tag.SELECT
HTML.Tag.SMALL
HTML.Tag.STRIKE
HTML.Tag.S
HTML.Tag.STRONG
HTML.Tag.STYLE
HTML.Tag.SUB
HTML.Tag.SUP
HTML.Tag.TABLE
HTML.Tag.TD
HTML.Tag.TEXTAREA
HTML.Tag.TH
HTML.Tag.TR
HTML.Tag.TT
HTML.Tag.U
HTML.Tag.UL
HTML.Tag.VAR
HTML.Tag.IMPLIED
HTML.Tag.COMMENT