<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="tidy.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="tidy.examples.html">Examples</a></div> <div class="up"><a href="book.tidy.html">Tidy</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="tidy.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <p class="para"> Each <em>TIDY_TAG_XXX</em> represents a HTML tag. For example, <strong><code>TIDY_TAG_A</code></strong> represents a <em>"<a href="XX">link</a>"</em> tag. Each <em>TIDY_ATTR_XXX</em> represents a HTML attribute. For example <strong><code>TIDY_ATTR_HREF</code></strong> would represent the <em>href</em> attribute in the previous example. </p> <p class="para"> The following constants are defined: <table class="doctable table"> <caption><strong>tidy tag constants</strong></caption> <thead> <tr> <th>constant</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.tidy-tag-unknown"> <td><strong><code>TIDY_TAG_UNKNOWN</code></strong></td> </tr> <tr id="constant.tidy-tag-a"> <td><strong><code>TIDY_TAG_A</code></strong></td> </tr> <tr id="constant.tidy-tag-abbr"> <td><strong><code>TIDY_TAG_ABBR</code></strong></td> </tr> <tr id="constant.tidy-tag-acronym"> <td><strong><code>TIDY_TAG_ACRONYM</code></strong></td> </tr> <tr id="constant.tidy-tag-align"> <td><strong><code>TIDY_TAG_ALIGN</code></strong></td> </tr> <tr id="constant.tidy-tag-applet"> <td><strong><code>TIDY_TAG_APPLET</code></strong></td> </tr> <tr id="constant.tidy-tag-area"> <td><strong><code>TIDY_TAG_AREA</code></strong></td> </tr> <tr id="constant.tidy-tag-b"> <td><strong><code>TIDY_TAG_B</code></strong></td> </tr> <tr id="constant.tidy-tag-base"> <td><strong><code>TIDY_TAG_BASE</code></strong></td> </tr> <tr id="constant.tidy-tag-basefont"> <td><strong><code>TIDY_TAG_BASEFONT</code></strong></td> </tr> <tr id="constant.tidy-tag-bdo"> <td><strong><code>TIDY_TAG_BDO</code></strong></td> </tr> <tr id="constant.tidy-tag-bgsound"> <td><strong><code>TIDY_TAG_BGSOUND</code></strong></td> </tr> <tr id="constant.tidy-tag-big"> <td><strong><code>TIDY_TAG_BIG</code></strong></td> </tr> <tr id="constant.tidy-tag-blink"> <td><strong><code>TIDY_TAG_BLINK</code></strong></td> </tr> <tr id="constant.tidy-tag-blockquote"> <td><strong><code>TIDY_TAG_BLOCKQUOTE</code></strong></td> </tr> <tr id="constant.tidy-tag-body"> <td><strong><code>TIDY_TAG_BODY</code></strong></td> </tr> <tr id="constant.tidy-tag-br"> <td><strong><code>TIDY_TAG_BR</code></strong></td> </tr> <tr id="constant.tidy-tag-button"> <td><strong><code>TIDY_TAG_BUTTON</code></strong></td> </tr> <tr id="constant.tidy-tag-caption"> <td><strong><code>TIDY_TAG_CAPTION</code></strong></td> </tr> <tr id="constant.tidy-tag-center"> <td><strong><code>TIDY_TAG_CENTER</code></strong></td> </tr> <tr id="constant.tidy-tag-cite"> <td><strong><code>TIDY_TAG_CITE</code></strong></td> </tr> <tr id="constant.tidy-tag-code"> <td><strong><code>TIDY_TAG_CODE</code></strong></td> </tr> <tr id="constant.tidy-tag-col"> <td><strong><code>TIDY_TAG_COL</code></strong></td> </tr> <tr id="constant.tidy-tag-colgroup"> <td><strong><code>TIDY_TAG_COLGROUP</code></strong></td> </tr> <tr id="constant.tidy-tag-comment"> <td><strong><code>TIDY_TAG_COMMENT</code></strong></td> </tr> <tr id="constant.tidy-tag-dd"> <td><strong><code>TIDY_TAG_DD</code></strong></td> </tr> <tr id="constant.tidy-tag-del"> <td><strong><code>TIDY_TAG_DEL</code></strong></td> </tr> <tr id="constant.tidy-tag-dfn"> <td><strong><code>TIDY_TAG_DFN</code></strong></td> </tr> <tr id="constant.tidy-tag-dir"> <td><strong><code>TIDY_TAG_DIR</code></strong></td> </tr> <tr id="constant.tidy-tag-div"> <td><strong><code>TIDY_TAG_DIV</code></strong></td> </tr> <tr id="constant.tidy-tag-dl"> <td><strong><code>TIDY_TAG_DL</code></strong></td> </tr> <tr id="constant.tidy-tag-dt"> <td><strong><code>TIDY_TAG_DT</code></strong></td> </tr> <tr id="constant.tidy-tag-em"> <td><strong><code>TIDY_TAG_EM</code></strong></td> </tr> <tr id="constant.tidy-tag-embed"> <td><strong><code>TIDY_TAG_EMBED</code></strong></td> </tr> <tr id="constant.tidy-tag-fieldset"> <td><strong><code>TIDY_TAG_FIELDSET</code></strong></td> </tr> <tr id="constant.tidy-tag-font"> <td><strong><code>TIDY_TAG_FONT</code></strong></td> </tr> <tr id="constant.tidy-tag-form"> <td><strong><code>TIDY_TAG_FORM</code></strong></td> </tr> <tr id="constant.tidy-tag-frame"> <td><strong><code>TIDY_TAG_FRAME</code></strong></td> </tr> <tr id="constant.tidy-tag-frameset"> <td><strong><code>TIDY_TAG_FRAMESET</code></strong></td> </tr> <tr id="constant.tidy-tag-h1"> <td><strong><code>TIDY_TAG_H1</code></strong></td> </tr> <tr id="constant.tidy-tag-h2"> <td><strong><code>TIDY_TAG_H2</code></strong></td> </tr> <tr id="constant.tidy-tag-h3"> <td><strong><code>TIDY_TAG_H3</code></strong></td> </tr> <tr id="constant.tidy-tag-h4"> <td><strong><code>TIDY_TAG_H4</code></strong></td> </tr> <tr id="constant.tidy-tag-h5"> <td><strong><code>TIDY_TAG_H5</code></strong></td> </tr> <tr id="constant.tidy-tag-h6"> <td><strong><code>TIDY_TAG_H6</code></strong></td> </tr> <tr id="constant.tidy-tag-head"> <td><strong><code>TIDY_TAG_HEAD</code></strong></td> </tr> <tr id="constant.tidy-tag-hr"> <td><strong><code>TIDY_TAG_HR</code></strong></td> </tr> <tr id="constant.tidy-tag-html"> <td><strong><code>TIDY_TAG_HTML</code></strong></td> </tr> <tr id="constant.tidy-tag-i"> <td><strong><code>TIDY_TAG_I</code></strong></td> </tr> <tr id="constant.tidy-tag-iframe"> <td><strong><code>TIDY_TAG_IFRAME</code></strong></td> </tr> <tr id="constant.tidy-tag-ilayer"> <td><strong><code>TIDY_TAG_ILAYER</code></strong></td> </tr> <tr id="constant.tidy-tag-img"> <td><strong><code>TIDY_TAG_IMG</code></strong></td> </tr> <tr id="constant.tidy-tag-input"> <td><strong><code>TIDY_TAG_INPUT</code></strong></td> </tr> <tr id="constant.tidy-tag-ins"> <td><strong><code>TIDY_TAG_INS</code></strong></td> </tr> <tr id="constant.tidy-tag-isindex"> <td><strong><code>TIDY_TAG_ISINDEX</code></strong></td> </tr> <tr id="constant.tidy-tag-kbd"> <td><strong><code>TIDY_TAG_KBD</code></strong></td> </tr> <tr id="constant.tidy-tag-keygen"> <td><strong><code>TIDY_TAG_KEYGEN</code></strong></td> </tr> <tr id="constant.tidy-tag-label"> <td><strong><code>TIDY_TAG_LABEL</code></strong></td> </tr> <tr id="constant.tidy-tag-layer"> <td><strong><code>TIDY_TAG_LAYER</code></strong></td> </tr> <tr id="constant.tidy-tag-legend"> <td><strong><code>TIDY_TAG_LEGEND</code></strong></td> </tr> <tr id="constant.tidy-tag-li"> <td><strong><code>TIDY_TAG_LI</code></strong></td> </tr> <tr id="constant.tidy-tag-link"> <td><strong><code>TIDY_TAG_LINK</code></strong></td> </tr> <tr id="constant.tidy-tag-listing"> <td><strong><code>TIDY_TAG_LISTING</code></strong></td> </tr> <tr id="constant.tidy-tag-map"> <td><strong><code>TIDY_TAG_MAP</code></strong></td> </tr> <tr id="constant.tidy-tag-marquee"> <td><strong><code>TIDY_TAG_MARQUEE</code></strong></td> </tr> <tr id="constant.tidy-tag-menu"> <td><strong><code>TIDY_TAG_MENU</code></strong></td> </tr> <tr id="constant.tidy-tag-meta"> <td><strong><code>TIDY_TAG_META</code></strong></td> </tr> <tr id="constant.tidy-tag-multicol"> <td><strong><code>TIDY_TAG_MULTICOL</code></strong></td> </tr> <tr id="constant.tidy-tag-nobr"> <td><strong><code>TIDY_TAG_NOBR</code></strong></td> </tr> <tr id="constant.tidy-tag-noembed"> <td><strong><code>TIDY_TAG_NOEMBED</code></strong></td> </tr> <tr id="constant.tidy-tag-noframes"> <td><strong><code>TIDY_TAG_NOFRAMES</code></strong></td> </tr> <tr id="constant.tidy-tag-nolayer"> <td><strong><code>TIDY_TAG_NOLAYER</code></strong></td> </tr> <tr id="constant.tidy-tag-nosave"> <td><strong><code>TIDY_TAG_NOSAVE</code></strong></td> </tr> <tr id="constant.tidy-tag-noscript"> <td><strong><code>TIDY_TAG_NOSCRIPT</code></strong></td> </tr> <tr id="constant.tidy-tag-object"> <td><strong><code>TIDY_TAG_OBJECT</code></strong></td> </tr> <tr id="constant.tidy-tag-ol"> <td><strong><code>TIDY_TAG_OL</code></strong></td> </tr> <tr id="constant.tidy-tag-optgroup"> <td><strong><code>TIDY_TAG_OPTGROUP</code></strong></td> </tr> <tr id="constant.tidy-tag-option"> <td><strong><code>TIDY_TAG_OPTION</code></strong></td> </tr> <tr id="constant.tidy-tag-p"> <td><strong><code>TIDY_TAG_P</code></strong></td> </tr> <tr id="constant.tidy-tag-param"> <td><strong><code>TIDY_TAG_PARAM</code></strong></td> </tr> <tr id="constant.tidy-tag-plaintext"> <td><strong><code>TIDY_TAG_PLAINTEXT</code></strong></td> </tr> <tr id="constant.tidy-tag-pre"> <td><strong><code>TIDY_TAG_PRE</code></strong></td> </tr> <tr id="constant.tidy-tag-q"> <td><strong><code>TIDY_TAG_Q</code></strong></td> </tr> <tr id="constant.tidy-tag-rp"> <td><strong><code>TIDY_TAG_RP</code></strong></td> </tr> <tr id="constant.tidy-tag-rt"> <td><strong><code>TIDY_TAG_RT</code></strong></td> </tr> <tr id="constant.tidy-tag-rtc"> <td><strong><code>TIDY_TAG_RTC</code></strong></td> </tr> <tr id="constant.tidy-tag-ruby"> <td><strong><code>TIDY_TAG_RUBY</code></strong></td> </tr> <tr id="constant.tidy-tag-s"> <td><strong><code>TIDY_TAG_S</code></strong></td> </tr> <tr id="constant.tidy-tag-samp"> <td><strong><code>TIDY_TAG_SAMP</code></strong></td> </tr> <tr id="constant.tidy-tag-script"> <td><strong><code>TIDY_TAG_SCRIPT</code></strong></td> </tr> <tr id="constant.tidy-tag-select"> <td><strong><code>TIDY_TAG_SELECT</code></strong></td> </tr> <tr id="constant.tidy-tag-server"> <td><strong><code>TIDY_TAG_SERVER</code></strong></td> </tr> <tr id="constant.tidy-tag-servlet"> <td><strong><code>TIDY_TAG_SERVLET</code></strong></td> </tr> <tr id="constant.tidy-tag-small"> <td><strong><code>TIDY_TAG_SMALL</code></strong></td> </tr> <tr id="constant.tidy-tag-spacer"> <td><strong><code>TIDY_TAG_SPACER</code></strong></td> </tr> <tr id="constant.tidy-tag-span"> <td><strong><code>TIDY_TAG_SPAN</code></strong></td> </tr> <tr id="constant.tidy-tag-strike"> <td><strong><code>TIDY_TAG_STRIKE</code></strong></td> </tr> <tr id="constant.tidy-tag-strong"> <td><strong><code>TIDY_TAG_STRONG</code></strong></td> </tr> <tr id="constant.tidy-tag-style"> <td><strong><code>TIDY_TAG_STYLE</code></strong></td> </tr> <tr id="constant.tidy-tag-sub"> <td><strong><code>TIDY_TAG_SUB</code></strong></td> </tr> <tr id="constant.tidy-tag-table"> <td><strong><code>TIDY_TAG_TABLE</code></strong></td> </tr> <tr id="constant.tidy-tag-tbody"> <td><strong><code>TIDY_TAG_TBODY</code></strong></td> </tr> <tr id="constant.tidy-tag-td"> <td><strong><code>TIDY_TAG_TD</code></strong></td> </tr> <tr id="constant.tidy-tag-textarea"> <td><strong><code>TIDY_TAG_TEXTAREA</code></strong></td> </tr> <tr id="constant.tidy-tag-tfoot"> <td><strong><code>TIDY_TAG_TFOOT</code></strong></td> </tr> <tr id="constant.tidy-tag-th"> <td><strong><code>TIDY_TAG_TH</code></strong></td> </tr> <tr id="constant.tidy-tag-thead"> <td><strong><code>TIDY_TAG_THEAD</code></strong></td> </tr> <tr id="constant.tidy-tag-title"> <td><strong><code>TIDY_TAG_TITLE</code></strong></td> </tr> <tr id="constant.tidy-tag-tr"> <td><strong><code>TIDY_TAG_TR</code></strong></td> </tr> <tr id="constant.tidy-tag-tt"> <td><strong><code>TIDY_TAG_TT</code></strong></td> </tr> <tr id="constant.tidy-tag-u"> <td><strong><code>TIDY_TAG_U</code></strong></td> </tr> <tr id="constant.tidy-tag-ul"> <td><strong><code>TIDY_TAG_UL</code></strong></td> </tr> <tr id="constant.tidy-tag-var"> <td><strong><code>TIDY_TAG_VAR</code></strong></td> </tr> <tr id="constant.tidy-tag-wbr"> <td><strong><code>TIDY_TAG_WBR</code></strong></td> </tr> <tr id="constant.tidy-tag-xmp"> <td><strong><code>TIDY_TAG_XMP</code></strong></td> </tr> </tbody> </table> </p> <p class="para"> <table class="doctable table"> <caption><strong>tidy attribute constants</strong></caption> <thead> <tr> <th>constant</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.tidy-attr-unknown"> <td><strong><code>TIDY_ATTR_UNKNOWN</code></strong></td> </tr> <tr id="constant.tidy-attr-abbr"> <td><strong><code>TIDY_ATTR_ABBR</code></strong></td> </tr> <tr id="constant.tidy-attr-accept"> <td><strong><code>TIDY_ATTR_ACCEPT</code></strong></td> </tr> <tr id="constant.tidy-attr-accept-charset"> <td><strong><code>TIDY_ATTR_ACCEPT_CHARSET</code></strong></td> </tr> <tr id="constant.tidy-attr-accesskey"> <td><strong><code>TIDY_ATTR_ACCESSKEY</code></strong></td> </tr> <tr id="constant.tidy-attr-action"> <td><strong><code>TIDY_ATTR_ACTION</code></strong></td> </tr> <tr id="constant.tidy-attr-add-date"> <td><strong><code>TIDY_ATTR_ADD_DATE</code></strong></td> </tr> <tr id="constant.tidy-attr-align"> <td><strong><code>TIDY_ATTR_ALIGN</code></strong></td> </tr> <tr id="constant.tidy-attr-alink"> <td><strong><code>TIDY_ATTR_ALINK</code></strong></td> </tr> <tr id="constant.tidy-attr-alt"> <td><strong><code>TIDY_ATTR_ALT</code></strong></td> </tr> <tr id="constant.tidy-attr-archive"> <td><strong><code>TIDY_ATTR_ARCHIVE</code></strong></td> </tr> <tr id="constant.tidy-attr-axis"> <td><strong><code>TIDY_ATTR_AXIS</code></strong></td> </tr> <tr id="constant.tidy-attr-background"> <td><strong><code>TIDY_ATTR_BACKGROUND</code></strong></td> </tr> <tr id="constant.tidy-attr-bgcolor"> <td><strong><code>TIDY_ATTR_BGCOLOR</code></strong></td> </tr> <tr id="constant.tidy-attr-bgproperties"> <td><strong><code>TIDY_ATTR_BGPROPERTIES</code></strong></td> </tr> <tr id="constant.tidy-attr-border"> <td><strong><code>TIDY_ATTR_BORDER</code></strong></td> </tr> <tr id="constant.tidy-attr-bordercolor"> <td><strong><code>TIDY_ATTR_BORDERCOLOR</code></strong></td> </tr> <tr id="constant.tidy-attr-bottommargin"> <td><strong><code>TIDY_ATTR_BOTTOMMARGIN</code></strong></td> </tr> <tr id="constant.tidy-attr-cellpadding"> <td><strong><code>TIDY_ATTR_CELLPADDING</code></strong></td> </tr> <tr id="constant.tidy-attr-cellspacing"> <td><strong><code>TIDY_ATTR_CELLSPACING</code></strong></td> </tr> <tr id="constant.tidy-attr-char"> <td><strong><code>TIDY_ATTR_CHAR</code></strong></td> </tr> <tr id="constant.tidy-attr-charoff"> <td><strong><code>TIDY_ATTR_CHAROFF</code></strong></td> </tr> <tr id="constant.tidy-attr-charset"> <td><strong><code>TIDY_ATTR_CHARSET</code></strong></td> </tr> <tr id="constant.tidy-attr-checked"> <td><strong><code>TIDY_ATTR_CHECKED</code></strong></td> </tr> <tr id="constant.tidy-attr-cite"> <td><strong><code>TIDY_ATTR_CITE</code></strong></td> </tr> <tr id="constant.tidy-attr-class"> <td><strong><code>TIDY_ATTR_CLASS</code></strong></td> </tr> <tr id="constant.tidy-attr-classid"> <td><strong><code>TIDY_ATTR_CLASSID</code></strong></td> </tr> <tr id="constant.tidy-attr-clear"> <td><strong><code>TIDY_ATTR_CLEAR</code></strong></td> </tr> <tr id="constant.tidy-attr-code"> <td><strong><code>TIDY_ATTR_CODE</code></strong></td> </tr> <tr id="constant.tidy-attr-codebase"> <td><strong><code>TIDY_ATTR_CODEBASE</code></strong></td> </tr> <tr id="constant.tidy-attr-codetype"> <td><strong><code>TIDY_ATTR_CODETYPE</code></strong></td> </tr> <tr id="constant.tidy-attr-color"> <td><strong><code>TIDY_ATTR_COLOR</code></strong></td> </tr> <tr id="constant.tidy-attr-cols"> <td><strong><code>TIDY_ATTR_COLS</code></strong></td> </tr> <tr id="constant.tidy-attr-colspan"> <td><strong><code>TIDY_ATTR_COLSPAN</code></strong></td> </tr> <tr id="constant.tidy-attr-compact"> <td><strong><code>TIDY_ATTR_COMPACT</code></strong></td> </tr> <tr id="constant.tidy-attr-content"> <td><strong><code>TIDY_ATTR_CONTENT</code></strong></td> </tr> <tr id="constant.tidy-attr-coords"> <td><strong><code>TIDY_ATTR_COORDS</code></strong></td> </tr> <tr id="constant.tidy-attr-data"> <td><strong><code>TIDY_ATTR_DATA</code></strong></td> </tr> <tr id="constant.tidy-attr-datafld"> <td><strong><code>TIDY_ATTR_DATAFLD</code></strong></td> </tr> <tr id="constant.tidy-attr-datapagesize"> <td><strong><code>TIDY_ATTR_DATAPAGESIZE</code></strong></td> </tr> <tr id="constant.tidy-attr-datasrc"> <td><strong><code>TIDY_ATTR_DATASRC</code></strong></td> </tr> <tr id="constant.tidy-attr-datetime"> <td><strong><code>TIDY_ATTR_DATETIME</code></strong></td> </tr> <tr id="constant.tidy-attr-declare"> <td><strong><code>TIDY_ATTR_DECLARE</code></strong></td> </tr> <tr id="constant.tidy-attr-defer"> <td><strong><code>TIDY_ATTR_DEFER</code></strong></td> </tr> <tr id="constant.tidy-attr-dir"> <td><strong><code>TIDY_ATTR_DIR</code></strong></td> </tr> <tr id="constant.tidy-attr-disabled"> <td><strong><code>TIDY_ATTR_DISABLED</code></strong></td> </tr> <tr id="constant.tidy-attr-encoding"> <td><strong><code>TIDY_ATTR_ENCODING</code></strong></td> </tr> <tr id="constant.tidy-attr-enctype"> <td><strong><code>TIDY_ATTR_ENCTYPE</code></strong></td> </tr> <tr id="constant.tidy-attr-face"> <td><strong><code>TIDY_ATTR_FACE</code></strong></td> </tr> <tr id="constant.tidy-attr-for"> <td><strong><code>TIDY_ATTR_FOR</code></strong></td> </tr> <tr id="constant.tidy-attr-frame"> <td><strong><code>TIDY_ATTR_FRAME</code></strong></td> </tr> <tr id="constant.tidy-attr-frameborder"> <td><strong><code>TIDY_ATTR_FRAMEBORDER</code></strong></td> </tr> <tr id="constant.tidy-attr-framespacing"> <td><strong><code>TIDY_ATTR_FRAMESPACING</code></strong></td> </tr> <tr id="constant.tidy-attr-gridx"> <td><strong><code>TIDY_ATTR_GRIDX</code></strong></td> </tr> <tr id="constant.tidy-attr-gridy"> <td><strong><code>TIDY_ATTR_GRIDY</code></strong></td> </tr> <tr id="constant.tidy-attr-headers"> <td><strong><code>TIDY_ATTR_HEADERS</code></strong></td> </tr> <tr id="constant.tidy-attr-height"> <td><strong><code>TIDY_ATTR_HEIGHT</code></strong></td> </tr> <tr id="constant.tidy-attr-href"> <td><strong><code>TIDY_ATTR_HREF</code></strong></td> </tr> <tr id="constant.tidy-attr-hreflang"> <td><strong><code>TIDY_ATTR_HREFLANG</code></strong></td> </tr> <tr id="constant.tidy-attr-hspace"> <td><strong><code>TIDY_ATTR_HSPACE</code></strong></td> </tr> <tr id="constant.tidy-attr-http-equiv"> <td><strong><code>TIDY_ATTR_HTTP_EQUIV</code></strong></td> </tr> <tr id="constant.tidy-attr-id"> <td><strong><code>TIDY_ATTR_ID</code></strong></td> </tr> <tr id="constant.tidy-attr-ismap"> <td><strong><code>TIDY_ATTR_ISMAP</code></strong></td> </tr> <tr id="constant.tidy-attr-label"> <td><strong><code>TIDY_ATTR_LABEL</code></strong></td> </tr> <tr id="constant.tidy-attr-lang"> <td><strong><code>TIDY_ATTR_LANG</code></strong></td> </tr> <tr id="constant.tidy-attr-language"> <td><strong><code>TIDY_ATTR_LANGUAGE</code></strong></td> </tr> <tr id="constant.tidy-attr-last-modified"> <td><strong><code>TIDY_ATTR_LAST_MODIFIED</code></strong></td> </tr> <tr id="constant.tidy-attr-last-visit"> <td><strong><code>TIDY_ATTR_LAST_VISIT</code></strong></td> </tr> <tr id="constant.tidy-attr-leftmargin"> <td><strong><code>TIDY_ATTR_LEFTMARGIN</code></strong></td> </tr> <tr id="constant.tidy-attr-link"> <td><strong><code>TIDY_ATTR_LINK</code></strong></td> </tr> <tr id="constant.tidy-attr-longdesc"> <td><strong><code>TIDY_ATTR_LONGDESC</code></strong></td> </tr> <tr id="constant.tidy-attr-lowsrc"> <td><strong><code>TIDY_ATTR_LOWSRC</code></strong></td> </tr> <tr id="constant.tidy-attr-marginheight"> <td><strong><code>TIDY_ATTR_MARGINHEIGHT</code></strong></td> </tr> <tr id="constant.tidy-attr-marginwidth"> <td><strong><code>TIDY_ATTR_MARGINWIDTH</code></strong></td> </tr> <tr id="constant.tidy-attr-maxlength"> <td><strong><code>TIDY_ATTR_MAXLENGTH</code></strong></td> </tr> <tr id="constant.tidy-attr-media"> <td><strong><code>TIDY_ATTR_MEDIA</code></strong></td> </tr> <tr id="constant.tidy-attr-method"> <td><strong><code>TIDY_ATTR_METHOD</code></strong></td> </tr> <tr id="constant.tidy-attr-multiple"> <td><strong><code>TIDY_ATTR_MULTIPLE</code></strong></td> </tr> <tr id="constant.tidy-attr-name"> <td><strong><code>TIDY_ATTR_NAME</code></strong></td> </tr> <tr id="constant.tidy-attr-nohref"> <td><strong><code>TIDY_ATTR_NOHREF</code></strong></td> </tr> <tr id="constant.tidy-attr-noresize"> <td><strong><code>TIDY_ATTR_NORESIZE</code></strong></td> </tr> <tr id="constant.tidy-attr-noshade"> <td><strong><code>TIDY_ATTR_NOSHADE</code></strong></td> </tr> <tr id="constant.tidy-attr-nowrap"> <td><strong><code>TIDY_ATTR_NOWRAP</code></strong></td> </tr> <tr id="constant.tidy-attr-object"> <td><strong><code>TIDY_ATTR_OBJECT</code></strong></td> </tr> <tr id="constant.tidy-attr-onafterupdate"> <td><strong><code>TIDY_ATTR_OnAFTERUPDATE</code></strong></td> </tr> <tr id="constant.tidy-attr-onbeforeunload"> <td><strong><code>TIDY_ATTR_OnBEFOREUNLOAD</code></strong></td> </tr> <tr id="constant.tidy-attr-onbeforeupdate"> <td><strong><code>TIDY_ATTR_OnBEFOREUPDATE</code></strong></td> </tr> <tr id="constant.tidy-attr-onblur"> <td><strong><code>TIDY_ATTR_OnBLUR</code></strong></td> </tr> <tr id="constant.tidy-attr-onchange"> <td><strong><code>TIDY_ATTR_OnCHANGE</code></strong></td> </tr> <tr id="constant.tidy-attr-onclick"> <td><strong><code>TIDY_ATTR_OnCLICK</code></strong></td> </tr> <tr id="constant.tidy-attr-ondataavailable"> <td><strong><code>TIDY_ATTR_OnDATAAVAILABLE</code></strong></td> </tr> <tr id="constant.tidy-attr-ondatasetchanged"> <td><strong><code>TIDY_ATTR_OnDATASETCHANGED</code></strong></td> </tr> <tr id="constant.tidy-attr-ondatasetcomplete"> <td><strong><code>TIDY_ATTR_OnDATASETCOMPLETE</code></strong></td> </tr> <tr id="constant.tidy-attr-ondblclick"> <td><strong><code>TIDY_ATTR_OnDBLCLICK</code></strong></td> </tr> <tr id="constant.tidy-attr-onerrorupdate"> <td><strong><code>TIDY_ATTR_OnERRORUPDATE</code></strong></td> </tr> <tr id="constant.tidy-attr-onfocus"> <td><strong><code>TIDY_ATTR_OnFOCUS</code></strong></td> </tr> <tr id="constant.tidy-attr-onkeydown"> <td><strong><code>TIDY_ATTR_OnKEYDOWN</code></strong></td> </tr> <tr id="constant.tidy-attr-onkeypress"> <td><strong><code>TIDY_ATTR_OnKEYPRESS</code></strong></td> </tr> <tr id="constant.tidy-attr-onkeyup"> <td><strong><code>TIDY_ATTR_OnKEYUP</code></strong></td> </tr> <tr id="constant.tidy-attr-onload"> <td><strong><code>TIDY_ATTR_OnLOAD</code></strong></td> </tr> <tr id="constant.tidy-attr-onmousedown"> <td><strong><code>TIDY_ATTR_OnMOUSEDOWN</code></strong></td> </tr> <tr id="constant.tidy-attr-onmousemove"> <td><strong><code>TIDY_ATTR_OnMOUSEMOVE</code></strong></td> </tr> <tr id="constant.tidy-attr-onmouseout"> <td><strong><code>TIDY_ATTR_OnMOUSEOUT</code></strong></td> </tr> <tr id="constant.tidy-attr-onmouseover"> <td><strong><code>TIDY_ATTR_OnMOUSEOVER</code></strong></td> </tr> <tr id="constant.tidy-attr-onmouseup"> <td><strong><code>TIDY_ATTR_OnMOUSEUP</code></strong></td> </tr> <tr id="constant.tidy-attr-onreset"> <td><strong><code>TIDY_ATTR_OnRESET</code></strong></td> </tr> <tr id="constant.tidy-attr-onrowenter"> <td><strong><code>TIDY_ATTR_OnROWENTER</code></strong></td> </tr> <tr id="constant.tidy-attr-onrowexit"> <td><strong><code>TIDY_ATTR_OnROWEXIT</code></strong></td> </tr> <tr id="constant.tidy-attr-onselect"> <td><strong><code>TIDY_ATTR_OnSELECT</code></strong></td> </tr> <tr id="constant.tidy-attr-onsubmit"> <td><strong><code>TIDY_ATTR_OnSUBMIT</code></strong></td> </tr> <tr id="constant.tidy-attr-onunload"> <td><strong><code>TIDY_ATTR_OnUNLOAD</code></strong></td> </tr> <tr id="constant.tidy-attr-profile"> <td><strong><code>TIDY_ATTR_PROFILE</code></strong></td> </tr> <tr id="constant.tidy-attr-prompt"> <td><strong><code>TIDY_ATTR_PROMPT</code></strong></td> </tr> <tr id="constant.tidy-attr-rbspan"> <td><strong><code>TIDY_ATTR_RBSPAN</code></strong></td> </tr> <tr id="constant.tidy-attr-readonly"> <td><strong><code>TIDY_ATTR_READONLY</code></strong></td> </tr> <tr id="constant.tidy-attr-rel"> <td><strong><code>TIDY_ATTR_REL</code></strong></td> </tr> <tr id="constant.tidy-attr-rev"> <td><strong><code>TIDY_ATTR_REV</code></strong></td> </tr> <tr id="constant.tidy-attr-rightmargin"> <td><strong><code>TIDY_ATTR_RIGHTMARGIN</code></strong></td> </tr> <tr id="constant.tidy-attr-rows"> <td><strong><code>TIDY_ATTR_ROWS</code></strong></td> </tr> <tr id="constant.tidy-attr-rowspan"> <td><strong><code>TIDY_ATTR_ROWSPAN</code></strong></td> </tr> <tr id="constant.tidy-attr-rules"> <td><strong><code>TIDY_ATTR_RULES</code></strong></td> </tr> <tr id="constant.tidy-attr-scheme"> <td><strong><code>TIDY_ATTR_SCHEME</code></strong></td> </tr> <tr id="constant.tidy-attr-scope"> <td><strong><code>TIDY_ATTR_SCOPE</code></strong></td> </tr> <tr id="constant.tidy-attr-scrolling"> <td><strong><code>TIDY_ATTR_SCROLLING</code></strong></td> </tr> <tr id="constant.tidy-attr-selected"> <td><strong><code>TIDY_ATTR_SELECTED</code></strong></td> </tr> <tr id="constant.tidy-attr-shape"> <td><strong><code>TIDY_ATTR_SHAPE</code></strong></td> </tr> <tr id="constant.tidy-attr-showgrid"> <td><strong><code>TIDY_ATTR_SHOWGRID</code></strong></td> </tr> <tr id="constant.tidy-attr-showgridx"> <td><strong><code>TIDY_ATTR_SHOWGRIDX</code></strong></td> </tr> <tr id="constant.tidy-attr-showgridy"> <td><strong><code>TIDY_ATTR_SHOWGRIDY</code></strong></td> </tr> <tr id="constant.tidy-attr-size"> <td><strong><code>TIDY_ATTR_SIZE</code></strong></td> </tr> <tr id="constant.tidy-attr-span"> <td><strong><code>TIDY_ATTR_SPAN</code></strong></td> </tr> <tr id="constant.tidy-attr-src"> <td><strong><code>TIDY_ATTR_SRC</code></strong></td> </tr> <tr id="constant.tidy-attr-standby"> <td><strong><code>TIDY_ATTR_STANDBY</code></strong></td> </tr> <tr id="constant.tidy-attr-start"> <td><strong><code>TIDY_ATTR_START</code></strong></td> </tr> <tr id="constant.tidy-attr-style"> <td><strong><code>TIDY_ATTR_STYLE</code></strong></td> </tr> <tr id="constant.tidy-attr-summary"> <td><strong><code>TIDY_ATTR_SUMMARY</code></strong></td> </tr> <tr id="constant.tidy-attr-tabindex"> <td><strong><code>TIDY_ATTR_TABINDEX</code></strong></td> </tr> <tr id="constant.tidy-attr-target"> <td><strong><code>TIDY_ATTR_TARGET</code></strong></td> </tr> <tr id="constant.tidy-attr-text"> <td><strong><code>TIDY_ATTR_TEXT</code></strong></td> </tr> <tr id="constant.tidy-attr-title"> <td><strong><code>TIDY_ATTR_TITLE</code></strong></td> </tr> <tr id="constant.tidy-attr-topmargin"> <td><strong><code>TIDY_ATTR_TOPMARGIN</code></strong></td> </tr> <tr id="constant.tidy-attr-type"> <td><strong><code>TIDY_ATTR_TYPE</code></strong></td> </tr> <tr id="constant.tidy-attr-usemap"> <td><strong><code>TIDY_ATTR_USEMAP</code></strong></td> </tr> <tr id="constant.tidy-attr-valign"> <td><strong><code>TIDY_ATTR_VALIGN</code></strong></td> </tr> <tr id="constant.tidy-attr-value"> <td><strong><code>TIDY_ATTR_VALUE</code></strong></td> </tr> <tr id="constant.tidy-attr-valuetype"> <td><strong><code>TIDY_ATTR_VALUETYPE</code></strong></td> </tr> <tr id="constant.tidy-attr-version"> <td><strong><code>TIDY_ATTR_VERSION</code></strong></td> </tr> <tr id="constant.tidy-attr-vlink"> <td><strong><code>TIDY_ATTR_VLINK</code></strong></td> </tr> <tr id="constant.tidy-attr-vspace"> <td><strong><code>TIDY_ATTR_VSPACE</code></strong></td> </tr> <tr id="constant.tidy-attr-width"> <td><strong><code>TIDY_ATTR_WIDTH</code></strong></td> </tr> <tr id="constant.tidy-attr-wrap"> <td><strong><code>TIDY_ATTR_WRAP</code></strong></td> </tr> <tr id="constant.tidy-attr-xml-lang"> <td><strong><code>TIDY_ATTR_XML_LANG</code></strong></td> </tr> <tr id="constant.tidy-attr-xml-space"> <td><strong><code>TIDY_ATTR_XML_SPACE</code></strong></td> </tr> <tr id="constant.tidy-attr-xmlns"> <td><strong><code>TIDY_ATTR_XMLNS</code></strong></td> </tr> </tbody> </table> </p> <p class="para"> <table class="doctable table"> <caption><strong>tidy nodetype constants</strong></caption> <thead> <tr> <th>constant</th> <th>description</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.tidy-nodetype-root"> <td><strong><code>TIDY_NODETYPE_ROOT</code></strong></td> <td>root node</td> </tr> <tr id="constant.tidy-nodetype-doctype"> <td><strong><code>TIDY_NODETYPE_DOCTYPE</code></strong></td> <td>doctype</td> </tr> <tr id="constant.tidy-nodetype-comment"> <td><strong><code>TIDY_NODETYPE_COMMENT</code></strong></td> <td>HTML comment</td> </tr> <tr id="constant.tidy-nodetype-procins"> <td><strong><code>TIDY_NODETYPE_PROCINS</code></strong></td> <td>Processing Instruction</td> </tr> <tr id="constant.tidy-nodetype-text"> <td><strong><code>TIDY_NODETYPE_TEXT</code></strong></td> <td>Text</td> </tr> <tr id="constant.tidy-nodetype-start"> <td><strong><code>TIDY_NODETYPE_START</code></strong></td> <td>start tag</td> </tr> <tr id="constant.tidy-nodetype-end"> <td><strong><code>TIDY_NODETYPE_END</code></strong></td> <td>end tag</td> </tr> <tr id="constant.tidy-nodetype-startend"> <td><strong><code>TIDY_NODETYPE_STARTEND</code></strong></td> <td>empty tag</td> </tr> <tr id="constant.tidy-nodetype-cdata"> <td><strong><code>TIDY_NODETYPE_CDATA</code></strong></td> <td>CDATA</td> </tr> <tr id="constant.tidy-nodetype-section"> <td><strong><code>TIDY_NODETYPE_SECTION</code></strong></td> <td>XML section</td> </tr> <tr id="constant.tidy-nodetype-asp"> <td><strong><code>TIDY_NODETYPE_ASP</code></strong></td> <td>ASP code</td> </tr> <tr id="constant.tidy-nodetype-jste"> <td><strong><code>TIDY_NODETYPE_JSTE</code></strong></td> <td>JSTE code</td> </tr> <tr id="constant.tidy-nodetype-php"> <td><strong><code>TIDY_NODETYPE_PHP</code></strong></td> <td>PHP code</td> </tr> <tr id="constant.tidy-nodetype-xmldecl"> <td><strong><code>TIDY_NODETYPE_XMLDECL</code></strong></td> <td>XML declaration</td> </tr> </tbody> </table> </p> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="tidy.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="tidy.examples.html">Examples</a></div> <div class="up"><a href="book.tidy.html">Tidy</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>