⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 quickref.html

📁 html 优化工具
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>yes</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should allow numeric character 
      references. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=new-blocklevel-tags 
    vAlign=top>new-blocklevel-tags</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Tag names</STRONG><BR>Default: 
      <STRONG>-</STRONG><BR>Example: <STRONG>tagX, tagY, ...</STRONG></TD>
    <TD vAlign=top align=right><A 
      href="quickref.html#new-empty-tags">new-empty-tags</A> 
      <BR><A 
      href="quickref.html#new-inline-tags">new-inline-tags</A> 
      <BR><A 
      href="quickref.html#new-pre-tags">new-pre-tags</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies new block-level tags. This option 
      takes a space or comma separated list of tag names. Unless you declare new 
      tags, Tidy will refuse to generate a tidied file if the input includes 
      previously unknown tags. Note you can't change the content model for 
      elements such as &lt;TABLE&gt;, &lt;UL&gt;, &lt;OL&gt; and &lt;DL&gt;. 
      This option is ignored in XML mode. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=new-empty-tags vAlign=top>new-empty-tags</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Tag names</STRONG><BR>Default: 
      <STRONG>-</STRONG><BR>Example: <STRONG>tagX, tagY, ...</STRONG></TD>
    <TD vAlign=top align=right><A 
      href="quickref.html#new-blocklevel-tags">new-blocklevel-tags</A> 
      <BR><A 
      href="quickref.html#new-inline-tags">new-inline-tags</A> 
      <BR><A 
      href="quickref.html#new-pre-tags">new-pre-tags</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies new empty inline tags. This option 
      takes a space or comma separated list of tag names. Unless you declare new 
      tags, Tidy will refuse to generate a tidied file if the input includes 
      previously unknown tags. Remember to also declare empty tags as either 
      inline or blocklevel. This option is ignored in XML mode. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=new-inline-tags vAlign=top>new-inline-tags</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Tag names</STRONG><BR>Default: 
      <STRONG>-</STRONG><BR>Example: <STRONG>tagX, tagY, ...</STRONG></TD>
    <TD vAlign=top align=right><A 
      href="quickref.html#new-blocklevel-tags">new-blocklevel-tags</A> 
      <BR><A 
      href="quickref.html#new-empty-tags">new-empty-tags</A> 
      <BR><A 
      href="quickref.html#new-pre-tags">new-pre-tags</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies new non-empty inline tags. This option 
      takes a space or comma separated list of tag names. Unless you declare new 
      tags, Tidy will refuse to generate a tidied file if the input includes 
      previously unknown tags. This option is ignored in XML mode. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=new-pre-tags vAlign=top>new-pre-tags</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Tag names</STRONG><BR>Default: 
      <STRONG>-</STRONG><BR>Example: <STRONG>tagX, tagY, ...</STRONG></TD>
    <TD vAlign=top align=right><A 
      href="quickref.html#new-blocklevel-tags">new-blocklevel-tags</A> 
      <BR><A 
      href="quickref.html#new-empty-tags">new-empty-tags</A> 
      <BR><A 
      href="quickref.html#new-inline-tags">new-inline-tags</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies new tags that are to be processed in 
      exactly the same way as HTML's &lt;PRE&gt; element. This option takes a 
      space or comma separated list of tag names. Unless you declare new tags, 
      Tidy will refuse to generate a tidied file if the input includes 
      previously unknown tags. Note you can not as yet add new CDATA elements 
      (similar to &lt;SCRIPT&gt;). This option is ignored in XML mode. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=numeric-entities vAlign=top>numeric-entities</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right><A 
      href="quickref.html#doctype">doctype</A> 
      <BR><A 
      href="quickref.html#preserve-entities">preserve-entities</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should output entities other 
      than the built-in HTML entities (&amp;amp;, &amp;lt;, &amp;gt; and 
      &amp;quot;) in the numeric rather than the named entity form. Only 
      entities compatible with the DOCTYPE declaration generated are used. 
      Entities that can be represented in the output encoding are translated 
      correspondingly. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=output-html vAlign=top>output-html</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should generate pretty printed 
      output, writing it as HTML. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=output-xhtml vAlign=top>output-xhtml</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should generate pretty printed 
      output, writing it as extensible HTML. This option causes Tidy to set the 
      DOCTYPE and default namespace as appropriate to XHTML. If a DOCTYPE or 
      namespace is given they will checked for consistency with the content of 
      the document. In the case of an inconsistency, the corrected values will 
      appear in the output. For XHTML, entities can be written as named or 
      numeric entities according to the setting of the "numeric-entities" 
      option. The original case of tags and attributes will be preserved, 
      regardless of other options. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=output-xml vAlign=top>output-xml</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should pretty print output, 
      writing it as well-formed XML. Any entities not defined in XML 1.0 will be 
      written as numeric entities to allow them to be parsed by a XML parser. 
      The original case of tags and attributes will be preserved, regardless of 
      other options. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=preserve-entities vAlign=top>preserve-entities</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should preserve the 
      well-formed entitites as found in the input. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=quote-ampersand vAlign=top>quote-ampersand</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>yes</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should output unadorned &amp; 
      characters as &amp;amp;. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=quote-marks vAlign=top>quote-marks</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should output " characters as 
      &amp;quot; as is preferred by some editing environments. The apostrophe 
      character ' is written out as &amp;#39; since many web browsers don't yet 
      support &amp;apos;. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=quote-nbsp vAlign=top>quote-nbsp</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>yes</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should output non-breaking 
      space characters as entities, rather than as the Unicode character value 
      160 (decimal). </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=repeated-attributes 
    vAlign=top>repeated-attributes</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>enum</STRONG><BR>Default: 
      <STRONG>keep-last</STRONG><BR>Example: <STRONG>keep-first, 
      keep-last</STRONG></TD>
    <TD vAlign=top align=right><A 
      href="quickref.html#join-classes">join-classes</A> 
      <BR><A 
      href="quickref.html#join-styles">join-styles</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should keep the first or last 
      attribute, if an attribute is repeated, e.g. has two align attributes. 
  </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=replace-color vAlign=top>replace-color</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should replace numeric values 
      in color attributes by HTML/XHTML color names where defined, e.g. replace 
      "#ffffff" with "white". </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=show-body-only vAlign=top>show-body-only</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should print only the contents 
      of the body tag as an HTML fragment. Useful for incorporating existing 
      whole pages as a portion of another page. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=uppercase-attributes 
      vAlign=top>uppercase-attributes</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should output attribute names 
      in upper case. The default is no, which results in lower case attribute 
      names, except for XML input, where the original case is preserved. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=uppercase-tags vAlign=top>uppercase-tags</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should output tag names in 
      upper case. The default is no, which results in lower case tag names, 
      except for XML input, where the original case is preserved. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=word-2000 vAlign=top>word-2000</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>Boolean</STRONG><BR>Default: 
      <STRONG>no</STRONG><BR>Example: <STRONG>y/n, yes/no, t/f, true/false, 
      1/0</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should go to great pains to 
      strip out all the surplus stuff Microsoft Word 2000 inserts when you save 
      Word documents as "Web pages". Doesn't handle embedded images or VML. You 
      should consider using Word's "Save As: Web Page, Filtered". </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR vAlign=bottom>
    <TD class=h2 id=DiagnosticsReference vAlign=top colSpan=2>Diagnostics 
      Options Reference </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=accessibility-check 
    vAlign=top>accessibility-check</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>enum</STRONG><BR>Default: <STRONG>0 (Tidy 
      Classic)</STRONG><BR>Example: <STRONG>0 (Tidy Classic), 1 (Priority 1 
      Checks), 2 (Priority 2 Checks), 3 (Priority 3 Checks)</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -