HTML Purifier Printer Smoketest

HTML Purifier claims to have a robust yet permissive whitelist: this page will allow you to see precisely what HTML Purifier's internal whitelist is. You can also twiddle with the configuration settings to see how a directive influences the internal workings of the definition objects.

Modify configuration

You can specify an array by typing in a comma-separated list of items, HTML Purifier will take care of the rest (including transformation into a real array list or a lookup table).

DirectiveValue
HTML
or
or
or
or
or
or
or
or
[Reset]

* Some configuration directives make a distinction between an empty variable and a null variable. A whitelist, for example, will take an empty array as meaning no allowed elements, while checking Null/Disabled will mean that user whitelisting functionality is disabled.

Definitions

Parent of Fragment
HTML that HTML Purifier does not live in a void: when it's output, it has to be placed in another element by means of something like <element> <?php echo $html ?> </element>. The parent in this example is element.
Strict mode
Whether or not HTML Purifier's output is Transitional or Strict compliant. Non-strict mode still actually a little strict and converts many deprecated elements.
#PCDATA
Literally Parsed Character Data, it is regular text. Tags like ul don't allow text in them, so #PCDATA is missing.
Tag transform
A tag transform will change one tag to another. Example: font turns into a span tag with appropriate CSS.
Attr Transform
An attribute transform changes a group of attributes based on one another. Currently, only lang and xml:lang use this hook, to synchronize each other's values. Pre/Post indicates whether or not the transform is done before/after validation.
Excludes
Tags that an element excludes are excluded for all descendants of that element, and not just the children of them.
Name(Param1, Param2)
Represents an internal data-structure. You'll have to check out the corresponding classes in HTML Purifier to find out more.

HTMLDefinition

Doctype
Name XHTML 1.0 Transitional
XML Yes
Default Modules CommonAttributes, Text, Hypertext, List, Presentation, Edit, Bdo, Tables, Image, StyleAttribute, Scripting, Object, Forms, Name, Legacy, Target, Iframe, XMLCommonAttributes, NonXMLCommonAttributes
Default Tidy Modules Tidy_Transitional, Tidy_XHTML, Tidy_Proprietary, Tidy_Name
Environment
Parent of fragment div
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
Block wrap name p
Global attributesNone
Tag transformsNone
Pre-AttrTransformLang()
Post-AttrTransformNone
Content Sets
Flow
a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
Inline
a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
Block
address, blockquote, center, dir, div, hr, menu, p, pre, table
Heading
h1, h2, h3, h4, h5, h6
List
dl, ol, ul
Form
None
Formctrl
None
Elements ($info)
Allowed tags
a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, caption, center, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, li, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var
<a>
Inline contentYes
Excludesa
Post-AttrTransformNameSync(), TargetNoreferrer(), TargetNoopener()
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), href = URI(), id = HTML_ID(), lang = Lang(), name = Text(), rel = HTML_LinkTypes(), rev = HTML_LinkTypes(), style = CSS(), target = HTML_FrameTarget(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<abbr>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<acronym>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<address>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, p, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<b>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<basefont>
Inline contentNo
Allowed attributescolor = HTML_Color(), face = Text(), id = HTML_ID(), size = Text()
Allowed childrenEmpty: None
<bdo>
Inline contentYes
Post-AttrTransformBdoDir()
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<big>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<blockquote>
Inline contentNo
Allowed attributescite = URI(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<br>
Inline contentNo
Allowed attributesclass = HTML_Class(), clear = Enum(left, all, right, none), id = HTML_ID(), style = CSS(), title = Text()
Allowed childrenEmpty: None
<caption>
Inline contentYes
Allowed attributesalign = Enum(top, bottom, left, right), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<center>
Inline contentNo
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<cite>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<code>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<col>
Inline contentNo
Allowed attributesalign = Enum(left, center, right, justify, char), charoff = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), span = Integer(), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), width = HTML_MultiLength(), xml:lang = Lang()
Allowed childrenEmpty: None
<colgroup>
Inline contentNo
Allowed attributesalign = Enum(left, center, right, justify, char), charoff = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), span = Integer(), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), width = HTML_MultiLength(), xml:lang = Lang()
Allowed childrenOptional: col
<dd>
Inline contentNo
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<del>
Inline contentNo
Allowed attributescite = URI(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenBlock: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
Inline: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<dfn>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<dir>
Inline contentNo
Allowed attributesclass = HTML_Class(), compact = HTML_Bool(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenRequired: li
<div>
Inline contentNo
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<dl>
Inline contentNo
Allowed attributesclass = HTML_Class(), compact = HTML_Bool(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenRequired: dd, dt
<dt>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<em>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<font>
Inline contentYes
Allowed attributesclass = HTML_Class(), color = HTML_Color(), dir = Enum(ltr, rtl), face = Text(), id = HTML_ID(), lang = Lang(), size = Text(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<h1>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<h2>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<h3>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<h4>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<h5>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<h6>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<hr>
Inline contentNo
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), noshade = HTML_Bool(), size = HTML_Pixels(), style = CSS(), title = Text(), width = HTML_Length(), xml:lang = Lang()
Allowed childrenEmpty: None
<i>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<img>
Inline contentNo
Pre-AttrTransformImgRequired()
Post-AttrTransformImgRequired(), NameSync()
Allowed attributesalign = Enum(top, middle, bottom, left, right), alt = Text(), border = HTML_Pixels(), class = HTML_Class(), dir = Enum(ltr, rtl), height = HTML_Pixels(), hspace = HTML_Pixels(), id = HTML_ID(), lang = Lang(), longdesc = URI(), name = Text(), src = URI(), style = CSS(), title = Text(), vspace = HTML_Pixels(), width = HTML_Pixels(), xml:lang = Lang()
Required attributes alt, src
Allowed childrenEmpty: None
<ins>
Inline contentNo
Allowed attributescite = URI(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenBlock: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
Inline: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<kbd>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<li>
Inline contentNo
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), type = Enum(1, i, I, a, A, disc, square, circle), value = Integer(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<menu>
Inline contentNo
Allowed attributesclass = HTML_Class(), compact = HTML_Bool(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenRequired: li
<ol>
Inline contentNo
Allowed attributesclass = HTML_Class(), compact = HTML_Bool(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), start = Integer(), style = CSS(), title = Text(), type = Enum(1, i, I, a, A), xml:lang = Lang()
Allowed childrenList: li, ol, ul
<p>
Inline contentYes
Allowed attributesalign = Enum(left, right, center, justify), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<pre>
Inline contentYes
Excludesbasefont, big, font, img, small
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), width = Integer(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<q>
Inline contentYes
Allowed attributescite = URI(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<s>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<samp>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<small>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<span>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<strike>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<strong>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<sub>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<sup>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<table>
Inline contentNo
Pre-AttrTransformBackground(), Length()
Allowed attributesalign = Enum(left, center, right), bgcolor = HTML_Color(), border = HTML_Pixels(), cellpadding = HTML_Length(), cellspacing = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), frame = Enum(void, above, below, hsides, lhs, rhs, vsides, box, border), id = HTML_ID(), lang = Lang(), rules = Enum(none, groups, rows, cols, all), style = CSS(), summary = Text(), title = Text(), width = HTML_Length(), xml:lang = Lang()
Allowed childrenTable: caption, col, colgroup, tbody, tfoot, thead, tr
<tbody>
Inline contentNo
Pre-AttrTransformBackground()
Allowed attributesalign = Enum(left, center, right, justify, char), charoff = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), xml:lang = Lang()
Allowed childrenRequired: tr
<td>
Inline contentNo
Pre-AttrTransformBackground()
Allowed attributesabbr = Text(), align = Enum(left, center, right, justify, char), bgcolor = HTML_Color(), charoff = HTML_Length(), class = HTML_Class(), colspan = Integer(), dir = Enum(ltr, rtl), height = HTML_Length(), id = HTML_ID(), lang = Lang(), nowrap = HTML_Bool(), rowspan = Integer(), scope = Enum(row, col, rowgroup, colgroup), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), width = HTML_Length(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<tfoot>
Inline contentNo
Pre-AttrTransformBackground()
Allowed attributesalign = Enum(left, center, right, justify, char), charoff = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), xml:lang = Lang()
Allowed childrenRequired: tr
<th>
Inline contentNo
Pre-AttrTransformBackground()
Allowed attributesabbr = Text(), align = Enum(left, center, right, justify, char), bgcolor = HTML_Color(), charoff = HTML_Length(), class = HTML_Class(), colspan = Integer(), dir = Enum(ltr, rtl), height = HTML_Length(), id = HTML_ID(), lang = Lang(), nowrap = HTML_Bool(), rowspan = Integer(), scope = Enum(row, col, rowgroup, colgroup), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), width = HTML_Length(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, address, b, basefont, bdo, big, blockquote, br, center, cite, code, del, dfn, dir, div, dl, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tt, u, ul, var
<thead>
Inline contentNo
Pre-AttrTransformBackground()
Allowed attributesalign = Enum(left, center, right, justify, char), charoff = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), xml:lang = Lang()
Allowed childrenRequired: tr
<tr>
Inline contentNo
Pre-AttrTransformBackground()
Allowed attributesalign = Enum(left, center, right, justify, char), bgcolor = HTML_Color(), charoff = HTML_Length(), class = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), valign = Enum(top, middle, bottom, baseline), xml:lang = Lang()
Allowed childrenRequired: td, th
<tt>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<u>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var
<ul>
Inline contentNo
Allowed attributesclass = HTML_Class(), compact = HTML_Bool(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), type = Enum(square, disc, circle), xml:lang = Lang()
Allowed childrenList: li, ol, ul
<var>
Inline contentYes
Allowed attributesclass = HTML_Class(), dir = Enum(ltr, rtl), id = HTML_ID(), lang = Lang(), style = CSS(), title = Text(), xml:lang = Lang()
Allowed childrenOptional: #PCDATA, a, abbr, acronym, b, basefont, bdo, big, br, cite, code, del, dfn, em, font, i, img, ins, kbd, q, s, samp, small, span, strike, strong, sub, sup, tt, u, var

CSSDefinition

Properties ($info)
PropertyDefinition
background CSS_ImportantDecorator(CSS_Background())
background-attachment CSS_ImportantDecorator(Enum(scroll, fixed))
background-color CSS_ImportantDecorator(CSS_Composite(Enum(transparent), CSS_Color()))
background-image CSS_ImportantDecorator(CSS_Composite(Enum(none), CSS_URI()))
background-position CSS_ImportantDecorator(CSS_BackgroundPosition())
background-repeat CSS_ImportantDecorator(Enum(repeat, repeat-x, repeat-y, no-repeat))
border CSS_ImportantDecorator(CSS_Border())
border-bottom CSS_ImportantDecorator(CSS_Border())
border-bottom-color CSS_ImportantDecorator(CSS_Composite(Enum(transparent), CSS_Color()))
border-bottom-style CSS_ImportantDecorator(Enum(none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset))
border-bottom-width CSS_ImportantDecorator(CSS_Composite(Enum(thin, medium, thick), CSS_Length()))
border-collapse CSS_ImportantDecorator(Enum(collapse, separate))
border-color CSS_ImportantDecorator(CSS_Multiple(CSS_Composite(Enum(transparent), CSS_Color()), 4))
border-left CSS_ImportantDecorator(CSS_Border())
border-left-color CSS_ImportantDecorator(CSS_Composite(Enum(transparent), CSS_Color()))
border-left-style CSS_ImportantDecorator(Enum(none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset))
border-left-width CSS_ImportantDecorator(CSS_Composite(Enum(thin, medium, thick), CSS_Length()))
border-right CSS_ImportantDecorator(CSS_Border())
border-right-color CSS_ImportantDecorator(CSS_Composite(Enum(transparent), CSS_Color()))
border-right-style CSS_ImportantDecorator(Enum(none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset))
border-right-width CSS_ImportantDecorator(CSS_Composite(Enum(thin, medium, thick), CSS_Length()))
border-spacing CSS_ImportantDecorator(CSS_Multiple(CSS_Length(), 2))
border-style CSS_ImportantDecorator(CSS_Multiple(Enum(none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset), 4))
border-top CSS_ImportantDecorator(CSS_Border())
border-top-color CSS_ImportantDecorator(CSS_Composite(Enum(transparent), CSS_Color()))
border-top-style CSS_ImportantDecorator(Enum(none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset))
border-top-width CSS_ImportantDecorator(CSS_Composite(Enum(thin, medium, thick), CSS_Length()))
border-width CSS_ImportantDecorator(CSS_Multiple(CSS_Composite(Enum(thin, medium, thick), CSS_Length()), 4))
caption-side CSS_ImportantDecorator(Enum(top, bottom))
clear CSS_ImportantDecorator(Enum(none, left, right, both))
color CSS_ImportantDecorator(CSS_Color())
float CSS_ImportantDecorator(Enum(none, left, right))
font CSS_ImportantDecorator(CSS_Font())
font-family CSS_ImportantDecorator(CSS_FontFamily())
font-size CSS_ImportantDecorator(CSS_Composite(Enum(xx-small, x-small, small, medium, large, x-large, xx-large, larger, smaller), CSS_Percentage(), CSS_Length()))
font-style CSS_ImportantDecorator(Enum(normal, italic, oblique))
font-variant CSS_ImportantDecorator(Enum(normal, small-caps))
font-weight CSS_ImportantDecorator(Enum(normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900))
height CSS_ImportantDecorator(Switch())
letter-spacing CSS_ImportantDecorator(CSS_Composite(Enum(normal), CSS_Length()))
line-height CSS_ImportantDecorator(CSS_Composite(Enum(normal), CSS_Number(), CSS_Length(), CSS_Percentage()))
list-style CSS_ImportantDecorator(CSS_ListStyle())
list-style-image CSS_ImportantDecorator(CSS_Composite(Enum(none), CSS_URI()))
list-style-position CSS_ImportantDecorator(Enum(inside, outside))
list-style-type CSS_ImportantDecorator(Enum(disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha, none))
margin CSS_ImportantDecorator(CSS_Multiple(CSS_Composite(CSS_Length(), CSS_Percentage(), Enum(auto)), 4))
margin-bottom CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage(), Enum(auto)))
margin-left CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage(), Enum(auto)))
margin-right CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage(), Enum(auto)))
margin-top CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage(), Enum(auto)))
max-height CSS_ImportantDecorator(Switch())
max-width CSS_ImportantDecorator(Switch())
min-height CSS_ImportantDecorator(Switch())
min-width CSS_ImportantDecorator(Switch())
padding CSS_ImportantDecorator(CSS_Multiple(CSS_Composite(CSS_Length(), CSS_Percentage()), 4))
padding-bottom CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage()))
padding-left CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage()))
padding-right CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage()))
padding-top CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage()))
table-layout CSS_ImportantDecorator(Enum(auto, fixed))
text-align CSS_ImportantDecorator(Enum(left, right, center, justify))
text-decoration CSS_ImportantDecorator(CSS_TextDecoration())
text-indent CSS_ImportantDecorator(CSS_Composite(CSS_Length(), CSS_Percentage()))
text-transform CSS_ImportantDecorator(Enum(capitalize, uppercase, lowercase, none))
vertical-align CSS_ImportantDecorator(CSS_Composite(Enum(baseline, sub, super, top, text-top, middle, bottom, text-bottom), CSS_Length(), CSS_Percentage()))
white-space CSS_ImportantDecorator(Enum(nowrap, normal, pre, pre-wrap, pre-line))
width CSS_ImportantDecorator(Switch())
word-spacing CSS_ImportantDecorator(CSS_Composite(Enum(normal), CSS_Length()))