| FORM_TAGS | = | [ :form, :input, :select, :textarea ] | ||
| SELF_CLOSING_TAGS | = | [ :base, :meta, :link, :hr, :br, :param, :img, :area, :input, :col ] | ||
| AttrCore | = | [:id, :class, :style, :title] | Common sets of attributes. | |
| AttrI18n | = | [:lang, 'xml:lang'.intern, :dir] | ||
| AttrEvents | = | [:onclick, :ondblclick, :onmousedown, :onmouseup, :onmouseover, :onmousemove, :onmouseout, :onkeypress, :onkeydown, :onkeyup] | ||
| AttrFocus | = | [:accesskey, :tabindex, :onfocus, :onblur] | ||
| AttrHAlign | = | [:align, :char, :charoff] | ||
| AttrVAlign | = | [:valign] | ||
| Attrs | = | AttrCore + AttrI18n + AttrEvents |
Hpricot.parse parses input and return a document tree. represented by Hpricot::Doc.