.

WebSight HTML Reference 

 

Tag Index
 
 

 
ABBR  
ACRONYM  
APPLET  
AREA  
 
BASEFONT  
BASE  
BDO  
BIG  
BLINK  
BLOCKQUOTE  
BODY  
BR  
BUTTON  
 
CAPTION  
CENTER  
CITE  
CODE 
COLGROUP  
COL  
COMMENT  
DD  
DEL  
DFN  
DIR  
DIV  
DL  
DT  
EMBED  
EM  
FIELDSET  
FONT  
FORM  
FRAMESET  
FRAME 
H1  
H2  
H3  
H4  
H5  
H6  
HEAD  
HR  
HTML  
IFRAME  
IMG  
INPUT  
INS  
ISINDEX  
 
KBD  
LABEL  
LEGEND  
LINK  
LISTING 
LI  
MAP  
MARQUEE MENU  
META  
MULTICOL  
NEXTID  
NOBR  
NOFRAMES  
NOSCRIPT  
OBJECT  
OL  
ONBLUR  
ONCLICK  
ONDBLCLICK  
ONFOCUS  
ONKEYDOWN  
ONKEYPRESS  
ONKEYUP  
ONLOAD 
ONMOUSEDOWN  
ONMOUSEMOVE  
ONMOUSEOUT  
ONMOUSEOVER  
ONMOUSEUP  
ONUNLOAD  
OPTGROUP  
OPTION  
PARAM  
PRE  
 
 
SAMP  
SCRIPT  
SECTION INDEX  
SELECT  
SMALL  
SPACER  
SPAN  
STRIKE  
STRONG  
STYLE  
SUB  
SUP  
 
TABLE  
TBODY  
TD  
TEXTAREA  
TFOOT  
THEAD  
TH  
TITLE  
TR  
TT  
UL  
 
VAR  
WBR  
XMP 
 
 

Section Index
 
 

Common attributes 
      Attribs... 
         Core attributes 
         International attributes 
      Core Events... 
      Focus Events... 
      Load Events... 

Document structure 
Forms

Frames 
Images and objects 
Header elements 
Lists 
Logical text style 
Physical text formatting 
Scripting 
Special text markup 
Tables 
Text layout
 
 

Common attributes

element  attribute  description 
Attribs... (= Core Attributes     
                 +  International attributes    
                 +  Core Events...
   
        Core attributes        
     ID = Id  Target ID 
     CLASS = CData  Class 
     STYLE = StyleSheet  Associated style 
     TITLE = Text  Element title 
          International attributes        
     LANG = LanguageCode  Language 
     DIR = {LTR | RTL}  Text direction 
          Core Events...        
   ONCLICK = Script  Click Events... 
   ONDBLCLICK = Script  Double-click Events... 
   ONKEYPRESS = Script  Keypress Events... 
   ONKEYDOWN = Script  Key down Events... 
   ONKEYUP = Script  Key up Events... 
   ONMOUSEDOWN = Script  Mouse button down 
   ONMOUSEUP = Script  Mouse button up 
   ONMOUSEOVER = Script  Mouse moves in 
   ONMOUSEMOVE = Script  Mouse moves within 
   ONMOUSEOUT = Script  Mouse moves out 

Focus Events...    

 

 
   ONFOCUS = Script  Gets focus Events... 
   ONBLUR = Script  Loses focus Events... 
Load Events...     
   ONLOAD = Script  Load Events... 
   ONUNLOAD = Script  Unload Events... 
 


Document structure
element/attribute 
description 
HTML  HTML document 
    Internat...   
   VERSION = String  HTML version 
HEAD  Document head 
  Internat...   
   PROFILE = Url  Meta dictionary 
BODY  Document body 
   Attribs...   
   Load-Events...   
   BACKGROUND = Url  Background image 
   BGCOLOR = Color  Background color 
   TEXT = Color  Text color 
   LINK = Color  Anchor color 
   ALINK = Color  Activated anchor color 
   VLINK = Color  Visited link color 
PLAINTEXT  Plain text passage 
!--  Comment 
COMMENT  Comment 
!DOCTYPE  Document type 
 


Header elements
element/attribute  description 
TITLE  Document title 
   Internat...   
ISINDEX  Searchable 
   Core-Attribs...   
   Internat...   
   PROMPT = Text   
META  Meta-information 
   Internat...   
   NAME = Name  Info name 
   CONTENT = CData  Info value 
   HTTP-EQUIV = Name  HTTP information 
   SCHEME = CData  Content form 
BASE  Document base 
   HREF = Url  Base location address 
   TARGET = Frame  Target frame 
LINK  Document linking 
   Attribs...   
   HREF = Url  Destination address 
   HREFLANG = Language  Link language 
   TYPE = Content  Content type 
   CHARSET = Charset  Link encoding 
   TARGET = Frame  Target frame 
   TITLE = String  Destination title 
   METHODS = HTTP method list  Destination operations 
   REL = LinkTypes  Relationship 
   REV = LinkTypes  Reversed relationship 
   URN = Url  Permanent destination 
   MEDIA = String  Target media 
STYLE  Style sheets 
   Internat...   
   TYPE = Content  Style type 
   MEDIA = Media  Destination media 
   TITLE = Text  Style title 
NEXTID  Next link ID 
   N = String  ID code 
 


Text layout
element/attribute  description 
BR  Line break 
   Core-Attribs...   
   CLEAR = {LEFT | RIGHT | 
      ALL | NONE} 
Clear flow 
NOBR  No break 
   Core-Attribs...   
WBR  Wordbreak 
Paragraph 
   Attribs...   
   ALIGN = Hor-align  Alignment 
MULTICOL  Multiple columns 
   Core-Attribs...   
   COLS = n   
   GUTTER = n   
   WIDTH = n | %   
SPACER  Spacer 
   ALIGN = Block-align   
   HEIGHT = n | %   
   SIZE = n | %   
   TYPE = {HORIZONTAL | 
      VERTICAL | BLOCK} 
 
   WIDTH = n | %   
HR  Horizontal ruler 
   Core-Attribs...   
   Core-Events...   
   ALIGN = Hor-align  Alignment 
   NOSHADE  Flat ruler 
   SIZE = n  Thickness 
   WIDTH = n | %  Ruler width 
   COLOR = Color   
 


Logical text style
element/attribute  description 
ABBR  Abbreviation 
   Attribs...   
ACRONYM  Acronym 
   Attribs...   
ADDRESS  Address 
   Attribs...   
BLOCKQUOTE  Blockquote 
   Attribs...   
   CITE = Url   
CITE  Citation 
   Attribs...   
CODE  Computer code 
   Attribs...   
DEL  Deleted text 
   Attribs...   
   CITE = Url   
   DATETIME = DateTime   
DFN  Definition 
   Attribs...   
EM  Emphasized 
   Attribs...   
H1  Level 1 heading 
   Attribs...   
   ALIGN = Hor-align   
H2  Level 2 heading 
   Attribs...   
   ALIGN = Hor-align   
H3  Level 3 heading 
   Attribs...   
   ALIGN = Hor-align   
H4  Level 4 heading 
   Attribs...   
   ALIGN = Hor-align   
H5  Level 5 heading 
   Attribs...   
   ALIGN = Hor-align   
H6  Level 6 heading 
   Attribs...   
   ALIGN = Hor-align   
INS  Inserted text 
   Attribs...   
   CITE = Url   
   DATETIME = DateTime   
KBD  Keyboard phrase 
   Attribs...   
LISTING  Computer listing 
   Attribs...   
PRE  Preformatted text 
   Attribs...   
   WIDTH = n  Maximum chars/line 
Short quotation 
   Attribs...   
   CITE = Url   
SAMP  Computer sample 
   Attribs...   
STRONG  Strongly empasized 
   Attribs...   
TT  Teletype 
   Attribs...   
VAR  Variable 
   Attribs...   
XMP  Computer example 
   Attribs...   
 


Physical text formatting
element/attribute  description 
Bold 
   Attribs...   
Italic 
   Attribs...   
Underline 
   Attribs...   
Strikeout 
   Attribs...   
STRIKE  Strikeout 
   Attribs...   
BLINK  Blinking 
   Attribs...   
SMALL  Small 
   Attribs...   
BIG  Big 
   Attribs...   
SUB  Subscript 
   Attribs...   
SUP  Superscript 
   Attribs...   
BASEFONT  Base font 
   Attribs...   
   SIZE = {n | -n | +n}  Font size 
   COLOR = Color  Font color 
   FACE = Fontlist   
   ID = Id   
FONT  Font 
   Core-Attribs...   
   Internat...   
   SIZE = {n | -n | +n}  Font size 
   COLOR = Color  Font color 
   FACE = Fontlist   
CENTER  Center 
   Attribs...   
MARQUEE  Marquee 
   WIDTH = {n | %}   
   HEIGHT = {n | %}   
   HSPACE = n   
   VSPACE = n   
   ALIGN = Vert-align   
   BEHAVIOR = {SCROLL | 
      SLIDE | ALTERNATE} 
 
   BGCOLOR = Color   
   DIRECTION = {LEFT | 
      RIGHT} 
 
   LOOP = {n | INFINITE}   
   SCROLLAMOUNT = n   
   SCROLLDELAY = n   
BDO  Bi-directional override 
   Core-Attribs...   
   DIR = {LTR | RTL}   
   LANG = LanguageCode   
 


Special text markup
element/attribute  description 
Anchor 
   Attribs...   
   Focus-Events...   
   HREF = Url  Anchor destination 
   HREFLANG = Language  Link language 
   NAME = CData  Anchor name 
   TYPE = ContentType  Content type 
   CHARSET = Charset  Link encoding 
   TARGET = Frame  Target frame 
   TITLE = String  Destination title 
   METHODS = HTTP method list  Destination operations 
   REL = LinkTypes  Relationship 
   REV = LinkTypes  Reversed relationship 
   URN = Url  Permanent destination 
   ACCESSKEY = Char  Hotkey 
   SHAPE = Shape  Map shape 
   COORDS = Coords  Shape coordinates 
   TABINDEX = n  Tab order 
DIV  Generic block container 
   Attribs...   
   ALIGN = Hor-align  Alignment 
SPAN  Generic inline container 
   Attribs...   
 


Images and objects
element/attribute  description 
IMG  Image 
   Attribs...   
   SRC = Url  Image source 
   ALT = Text  Textual alternative 
   LONGDESC = Url  Description document 
   ALIGN = Block-align  Position 
   HEIGHT = {n | %}  Height override 
   WIDTH = {n | %}  Width override 
   BORDER [= n]  Image border 
   HSPACE = n  Horizontal gutter 
   VSPACE = n  Vertical gutter 
   ISMAP  Server-side image map 
   USEMAP = Url  Client-side image map 
MAP  Clickable map 
   Attribs...   
   NAME = CData  Map name 
AREA  Map area 
   Attribs...   
   Focus-Events...   
   SHAPE = Shape  Area type 
   COORDS = Coords  Shape coordinates 
   HREF = Url  Area link 
   TARGET = Frame  Target frame 
   NOHREF  Area has no action 
   ALT = Text  Textual alternative 
   ACCESSKEY = Char  Hotkey 
   TABINDEX = n  Tab order 
APPLET  Java applet 
   Core-Attribs...   
   CODE = Url  Applet file 
   CODEBASE = Url  Applet location 
   ARCHIVE = CData  Archive list 
   OBJECT = CData  Serialized applet 
   ALT = Text  Textual alternative 
   NAME = CData  Applet name 
   HEIGHT = {n | %}  Applet height 
   WIDTH = {n | %}  Applet width 
   ALIGN = Block-align  Position 
   HSPACE = n  Horizontal gutter 
   VSPACE = n  Vertical gutter 
OBJECT  Generic object 
   Attribs...   
   DECLARE  Declaration 
   CLASSID = Url  Class ID 
   CODEBASE = Url  Base URL 
   DATA = Url  Data URL 
   TYPE = Content  Data type 
   CODETYPE = Content  Code type 
   ARCHIVE = Url  Archive list 
   STANDBY = Text  Loading message 
   HEIGHT = {n | %}  Height override 
   WIDTH = {n | %}  Width override 
   USEMAP = Url  Client side mapping 
   NAME = CData  Form name 
   TABINDEX = n  Tab order 
   ALIGN = Block-align  Position 
   BORDER [= n}  Border width 
   HSPACE = n  Horizontal gutter 
   VSPACE = n  Vertical gutter 
PARAM  Applet/object parameters 
   ID = Id  Element ID 
   NAME = CData  Parameter name 
   VALUE = CData  Parameter value 
   VALUETYPE = {DATA | REF | 
      OBJECT} 
Value format 
   TYPE = Content  Ref value format 
EMBED   
 


Lists
element/attribute  description 
UL  Unordered list 
   Attribs...   
   COMPACT  Compact style 
   TYPE = {DISC | SQUARE | 
      CIRCLE} 
Bullet style 
OL  Ordered list 
   Attribs...   
   COMPACT  Compact style 
   TYPE = {1 | a | A | i | I}  Numbering style 
   START = n  Start number 
DIR  Directory list 
   Attribs...   
   COMPACT  Compact style 
MENU  Menu list 
   Attribs...   
   COMPACT  Compact style 
LI  List item 
   Attribs...   
   TYPE = {DISC | SQUARE | 
      CIRCLE | 1 | a | A | i | I} 
Bullet/number style 
   VALUE = n  Forced number 
DL  Definition list 
   Attribs...   
   COMPACT  Compact style 
DT  Definition list - Term 
   Attribs...   
DD  Definition list - Definition 
   Attribs...   
 


Tables
element/attribute  description 
TABLE  Table 
   Attribs...   
   ALIGN = Block-align  Position 
   WIDTH = {n | %}  Table width 
   BORDER [= n]  Table lines 
   FRAME = {VOID | ABOVE | 
      BELOW | HSIDES | 
      VSIDES | LHS | RHS | 
      BOX | BORDER} 
Table lines 
   RULES = {NONE | GROUPS | 
      ROWS | COLS | ALL} 
Cell lines 
   CELLSPACING = n  Inter-cell spacing 
   CELLPADDING = n  Intra-cell spacing 
   SUMMARY = Text  Textual summary 
   BGCOLOR = Color  Background color 
CAPTION  Table caption 
   Attribs...   
   ALIGN = {TOP | BOTTOM | 
      LEFT | RIGHT} 
Caption position 
THEAD  Table header 
   Attribs...   
   ALIGN  Horizontal data alignment 
   VALIGN  Vertical data alignment 
TBODY  Table body 
   Attribs...   
   ALIGN  Horizontal data alignment 
   VALIGN  Vertical data alignment 
TFOOT  Table footer 
   Attribs...   
   ALIGN  Horizontal data alignment 
   VALIGN  Vertical data alignment 
COLGROUP  Column group 
   Attribs...   
   WIDTH = {n | % | *}  Set of widths 
   ALIGN = Hor-cell  Horizontal data alignment 
   CHAR = Char  Align character 
   CHAROFF = {n}  Align char offset 
   VALIGN = Vert-cell  Vertical data alignment 
   SPAN = n  Number of columns 
COL  Column 
   Attribs...   
   WIDTH = {n | % | *}  Column width 
   ALIGN = Hor-cell  Horizontal data alignment 
   CHAR = Char  Align character 
   CHAROFF = {n}  Align char offset 
   VALIGN = Vert-cell  Vertical data alignment 
   SPAN = n  Repeat count 
TR  Table row 
   Attribs...   
   ALIGN = Hor-cell  Horizontal data alignment 
   CHAR = Char  Align character 
   CHAROFF = {n}  Align char offset 
   VALIGN = Vert-cell  Vertical data alignment 
   BGCOLOR = Color  Background color 
TH  Header cell 
   Attribs...   
   NOWRAP  No wrapping 
   COLSPAN = n  Row spanning 
   ROWSPAN = n  Column spanning 
   ALIGN = Hor-cell  Horizontal data alignment 
   CHAR = Char  Align character 
   CHAROFF = {n}  Align char offset 
   VALIGN = Vert-cell  Vertical data alignment 
   WIDTH = {n | %}  Cell width 
   HEIGHT = {n | %}  Cell height 
   ABBR = Text  Abbreviation 
   AXIS = CData  Related headers 
   HEADERS = Id's  Header ID's 
   SCOPE = {ROW | COL | 
      ROWGROUP | COLGROUP} 
Header scope 
   BGCOLOR  Background color 
TD  Data cell 
   Attribs...   
   NOWRAP  No wrapping 
   COLSPAN = n  Row spanning 
   ROWSPAN = n  Column spanning 
   ALIGN = Hor-align  Horizontal data alignment 
   CHAR = Char  Align character 
   CHAROFF = {n}  Align char offset 
   VALIGN = Vert-align  Vertical data alignment 
   WIDTH = {n | %}  Cell width 
   HEIGHT = {n | %}  Cell height 
   ABBR = String  Abbreviation 
   AXIS = String  Related headers 
   HEADERS = ID-list  Header ID's 
   SCOPE = {ROW | COL | 
      ROWGROUP | COLGROUP} 
Header scope 
   BGCOLOR  Background color 
 


Forms
element/attribute  description 
FORM  Form section 
   Attribs...   
   ACTION = Url  Destination URL 
   METHOD = {GET | POST}  Submission method 
   ENCTYPE = Content  Encoding type 
   TARGET = Frame  Target frame 
   ACCEPT-CHARSET = Charsets  Supported charset 
   ONSUBMIT = Script  Submit Events... 
   ONRESET = Script  Reset Events... 
FIELDSET  Form control group 
   Attribs...   
LEGEND  Fieldset legend 
   Attribs...   
   ACCESSKEY = Char  Hotkey 
   ALIGN = {TOP | BOTTOM | 
      LEFT | RIGHT} 
Positioning 
LABEL  Field label 
   Attribs...   
   Focus-Events...   
   ACCESSKEY = Char  Hotkey 
   FOR = Id  Target ID 
INPUT  Input field 
   Attribs...   
   Focus-Events...   
   TYPE = {TEXT | PASSWORD | 
      CHECKBOX | RADIO | 
      SUBMIT | RESET | 
      FILE | BUTTON | 
      IMAGE | HIDDEN} 
Input type 
   NAME = CData  Name of field 
   VALUE = CData  Default value 
   SIZE = n  Visual field size 
   MAXLENGTH = n  Maximum data length 
   CHECKED  Item is "on" 
   DISABLED  Disabled control 
   READONLY  Unchangeable 
   SRC = Url  Image source URL 
   ALT = String  Textual alternative 
   ALIGN = Block-align  Image alignment 
   USEMAP = Url  Client side mapping 
   ACCEPT = Content-list  Accepted MIME types 
   ACCESSKEY = Char  Hotkey 
   TABINDEX = n  Tab order 
   ONSELECT = Script  Select Events... 
   ONCHANGE = Script  Change Events... 
BUTTON  Push button 
   Attribs...   
   Focus-Events...   
   NAME = CData  Item name 
   VALUE = CData  Element name 
   TYPE = {BUTTON | SUBMIT | 
      RESET} 
Button type 
   DISABLED  Disabled control 
   TABINDEX = n  Tab order 
   ACCESSKEY = Char  Hotkey 
SELECT  Selection of options 
   Attribs...   
   Focus-Events...   
   NAME = CData  Name of item 
   SIZE = n  Items displayed 
   MULTIPLE  Multiple items selectable 
   DISABLED  Disabled control 
   TABINDEX = n  Tab order 
   ONCHANGE = Script  Change Events... 
OPTGROUP  Option group 
   Attribs...   
   DISABLED  Disabled control 
   LABEL = Text  Hierarchical label 
OPTION  Selection option 
   Attribs...   
   VALUE = CData  Form data value 
   SELECTED  Initial state 
   DISABLED  Disabled control 
   LABEL = Text  Hierarchical label 
TEXTAREA  Text input area 
   Attribs...   
   Focus-Events...   
   NAME = CData  Name of item 
   COLS = n  Width of item 
   ROWS = n  Height of item 
   DISABLED  Disabled control 
   READONLY  Unchangeable 
   TABINDEX = n  Tab order 
   ACCESSKEY = Char  Hotkey 
   ONCHANGE = Script  Change Events... 
   ONSELECT = Script  Select Events... 
 


Frames
element/attribute  description 
FRAMESET  Window subdivision 
   Core-Attribs...   
   Load-Events...   
   COLS = {n | % | *}  Horizontal subdivision 
   ROWS = {n | % | *}  Vertical subdivision 
FRAME   
   Core-Attribs...   
   FRAMEBORDER = n   
   LONGDESC = Url   
   MARGINHEIGHT = n   
   MARGINWIDTH = n   
   NAME = CData   
   NORESIZE   
   SCROLLING = {NO | YES | 
      AUTO} 
 
   SRC = Url   
NOFRAMES   
   Attribs...   
IFRAME   
   Core-Attribs...   
   ALIGN = IAlign   
   FRAMEBORDER = n   
   HEIGHT = n   
   LONGDESC = Url   
   MARGINHEIGHT = n   
   MARGINWIDTH = n   
   NAME = CData   
   SCROLLING = {NO | YES | 
      AUTO} 
 
   SRC = Url   
   WIDTH = n   
 


Scripting
element/attribute  description 
SCRIPT  Script statements 
   CHARSET = Charset  Character encoding 
   TYPE = ContentType  Script type 
   LANGUAGE = CData  Language 
   SRC = Url  External source file 
   DEFER  Don't execute 
   Events... = CData   
   FOR = Url   
NOSCRIPT  Alternate container 
   Attribs...