Supported HTML Tags and Attributes


Document Tags

<HTML>...</HTML>
<HEAD>...</HEAD>
<STYLE>...</STYLE>
<BASE>
   HREF=base
<TITLE>...</TITLE>
<BODY>...</BODY>
   BACKGROUND=bitmap
   TEXT=color
   BGCOLOR=color
   LINK=color
   VLINK=color
   OLINK=color
   MARGINWIDTH=n
   MARGINHEIGHT=n
   BGPROPERTIES=fixed
   TOPMARGIN=n
   LEFTMARGIN=n

Physical Phrase Markup Tags

<B>...</B>
<I>...</I>
<U>...</U>
<TT>...</TT>
<S>...</S>
<FONT>...</FONT>
   SIZE=n  (n=1..7) or SIZE=+-n (incremental change)
   COLOR=color
   FACE=facename
<SUB>...</SUB>
<SUP>...</SUP>
<BIG>...</BIG>
<SMALL>...</SMALL>
<STRIKE>...</STRIKE>
<NOBR>...</NOBR>

Logical Phrase Markup Tags

<EM>...</EM>
<STRONG>...</STRONG>
<CITE>...</CITE>
<VAR>...</VAR>
<CODE>...</CODE>
<KBD>...</KBD>
<SAMP>...</SAMP>

Block Tags

<P>...(</P>)
    ALIGN=left|center|right|justify
<ADDRESS>...</ADDRESS>
<BLOCKQUOTE>...</BLOCKQUOTE>
<PRE>...</PRE>
<CENTER>...</CENTER>
<DIV>...</DIV>
    ALIGN=left|center|right|justify

Lists

<OL>...</OL>
   START=value
   TYPE=1|a|A|i|I
<UL>...</UL>
   PLAIN
   TYPE=plain|none
<DIR>...</DIR>
<MENU>...</MENU>
  <LI>...(</LI>)
    VALUE=n

Description List

<DL>...</DL>
  <DD>...</DD>
  <DT>...</DT>

Tables

<TABLE>...<TABLE>
   BORDER or BORDER=n
   ALIGN=left|center|right
   CELLSPACING=value
   CELLPADDING=value
   WIDTH=n|n%
   BACKGROUND=image
   BGCOLOR=color
   BORDERCOLOR=color
   BORDERCOLORLIGHT=color
   BORDERCOLORDARK=color
   HSPACE=n
   VSPACE=n
   HEIGHT=n|n%
<COLGROUP>...</COLGROUP>
   VALIGN=top|center|bottom
   ALIGN=left|center|right
   WIDTH=n|n%
<COL>
   VALIGN=top|center|bottom
   ALIGN=left|center|right
   WIDTH=n|n%
   SPAN=n
<CAPTION>...</CAPTION>
   ALIGN=top|bottom
<TR>...</TR>
   VALIGN=top|center|bottom
   ALIGN=left|center|right
   BGCOLOR=color
   HEIGHT=n
<TH>...</TH>, <TD>...</TD>
   ROWSPAN=n
   COLSPAN=n
   WIDTH=n|n%
   HEIGHT=n
   VALIGN=top|center|bottom
   ALIGN=left|center|right
   BGCOLOR=color
   NOWRAP
<THEAD><TBODY><TFOOT>   (printing)

Forms

<FORM>...</FORM>
   METHOD=post|get
   ACTION=url
<INPUT>...</INPUT>
   TYPE=text|password|submit|reset|radio|checkbox|hidden|image|button|file
   NAME=string
   VALUE=string
   SIZE=chars       (text, password)
   MAXLENGTH=chars  (text, password)
   CHECKED          (radio, checkbox)
   ONCLICK=string   (button, radio, checkbox, edit)
   TABINDEX=n
   DISABLE
<SELECT>...</SELECT>
   NAME=string
   MULTIPLE
   SIZE=lines
   OnClick
   <OPTION>...(</OPTION>)
      SELECTED
      VALUE=string
   TABINDEX=n
   DISABLE
<TEXTAREA>...</TEXTAREA>
   NAME=string
   ROWS=n
   COLS=n
   WRAP=off|soft|hard
   OnClick
   TABINDEX=n
   DISABLE
<OPTION>...</OPTION>

Character Level Elements

<BR>
   CLEAR=left|right
<WBR>
<IMG>
   SRC=image
   ALT=string
   ALIGN=top|middle|bottom|left|right
   BORDER=n
   WIDTH=n,n%
   HEIGHT=n,n%
   TRANSP   (non-standard, Lower Left pixel defines transparent color
   IMAGEMAP
   USEMAP=url (local URL only)
   HSPACE=n
   VSPACE=n
   ACTIVE
   

Anchors

<A>...</A>
   HREF=url
   NAME=string
   TABINDEX=n

Client Side Image Maps

<MAP>...</MAP>
   NAME=string
<AREA>
   SHAPE=RECT|CIRC|CIRCLE|POLY|POLYGON
   COORDS="n1, n2, ...., nn"
   HREF=url
   NOHREF
   TITLE=title

Miscellaneous

<Hn>...</Hn>   n = 1..6
   ALIGN=left|center|right
<HR>
   SIZE=n
   WIDTH=n|n%
   COLOR=color
   ALIGN=left|center|right
   NOSHADE
<BASEFONT>
   SIZE=n  (n=1..7) or SIZE=+-n (incremental change)
<BGSOUND>
   SRC=filename
   LOOP=n
<Span>
   Style

Color Syntax

Color information may consist of a hexadecimal red, green, and blue value such as FF8000 or be one of the following identifiers:

Black, Maroon, Green, Olive, Navy, Purple, Teal, Gray, Silver, Red, Lime, Yellow, Blue, Fuchsia, Aqua, white, Aliceblue, Antiquewhite, Aquamarine, Azure, Beige, Bisque, Blanchedalmond, Blueviolet, Brown, Burlywood, Cadetblue, Chartreuse, Chocolate, Coral, Cornflowerblue, Cornsilk, Crimson, Cyan, Darkblue, Darkcyan, Darkgoldenrod, Darkgray, Darkgreen, Darkkhaki, Darkmagenta, Darkolivegreen, Darkorange, Darkorchid, Darkred, Darksalmon, Darkseagreen, Darkslateblue, Darkslategray, Darkturquoise, Darkviolet, Deeppink, Deepskyblue, Dimgray, Dodgerblue, Firebrick, Floralwhite, Forestgreen, Gainsboro, Ghostwhite, Gold, Goldenrod, Greenyellow, Honeydew, Hotpink, Indianred, Indigo, Ivory, Khaki, Lavender, Lavenderblush, Lawngreen, Lemonchiffon, Lightblue, Lightcoral, Lightcyan, Lightgoldenrodyellow, Lightgreen, Lightgrey, Lightpink, Lightsalmon, Lightseagreen, Lightskyblue, Lightslategray, Lightsteelblue, Lightyellow, Limegreen, Linen, Magenta, Mediumaquamarine, Mediumblue, Mediumorchid, Mediumpurple, Mediumseagreen, Mediumslateblue, Mediumspringgreen, Mediumturquoise, Mediumvioletred, Midnightblue, Mintcream, Mistyrose, Moccasin, Navajowhite, Oldlace, Olivedrab, Orange, Orangered, Orchid, Palegoldenrod, Palegreen, Paleturquoise, Palevioletred, Papayawhip, Peachpuff, Peru, Pink, Plum, Powderblue, Rosybrown, Royalblue, Saddlebrown, Salmon, Sandybrown, Seagreen, Seashell, Sienna, Skyblue, Slateblue, Slategray, Snow, Springgreen, Steelblue, Tan, Thistle, Tomato, Turquoise, Violet, Wheat, Whitesmoke, Yellowgreen, background, activecaption, inactivecaption, menu, window, windowframe, menutext, windowtext, captiontext, activeborder, inactiveborder, appworkSpace, highlight, hightlighttext, buttonface, buttonshadow, graytext, buttontext, inactivecaptiontext, buttonhighlight, threeddarkshadow, threedlightshadow, infotext, infobackground, scrollbar, threedface, threedhighlight, threedshadow.

Non-Standard

<PAGE>
  
 The <PAGE> tag causes printing to end on the current page and a new page started.
   It has no effect on the displayed document.
   Note:  The <PAGE> tag does not work correctly in documents which use CSS absolute positioning.  Use the CSS page-break properties instead.
<!--#HEADER file="filename.htm"--> 
<!--#FOOTER file="filename.htm"--> 
   These tags allow printing HTML files as headers or footers. Learn more.
<!--#SET_PRINTERr="Printer Name or number"-->
   This tag allow defining a different printer for each document, independently of the Printer set in the configuration file. Learn more.
Some special symbols are used to print page numbering and other special options, they are entered as special tags in the HTML code: Other symbols can be used to specify the header/footer. Learn more.
 
HTMLPrint supports displaying and printing metafiles embedded in HTML files (.wmf or .emf files) only when running under Windows 2000 / XP / 2003 or newer.