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

📄 quickref.html

📁 html 优化工具
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    <TD class=h3 id=PrettyPrintHeader colSpan=2>Pretty Print Options</TD>
    <TD vAlign=top><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD class=tabletitle>Option</TD>
    <TD class=tabletitle>Type</TD>
    <TD class=tabletitle>Default</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#break-before-br">break-before-br</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#indent">indent</A> 
</TD>
    <TD>AutoBool</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#indent-attributes">indent-attributes</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#indent-spaces">indent-spaces</A> 
    </TD>
    <TD>Integer</TD>
    <TD>2</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#markup">markup</A> 
</TD>
    <TD>Boolean</TD>
    <TD>yes</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#punctuation-wrap">punctuation-wrap</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#split">split</A> </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#tab-size">tab-size</A> 
    </TD>
    <TD>Integer</TD>
    <TD>8</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#vertical-space">vertical-space</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A href="quickref.html#wrap">wrap</A> 
    </TD>
    <TD>Integer</TD>
    <TD>68</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#wrap-asp">wrap-asp</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>yes</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#wrap-attributes">wrap-attributes</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#wrap-jste">wrap-jste</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>yes</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#wrap-php">wrap-php</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>yes</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#wrap-script-literals">wrap-script-literals</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#wrap-sections">wrap-sections</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>yes</TD></TR>
  <TR vAlign=bottom>
    <TD colSpan=3>&nbsp;</TD></TR>
  <TR vAlign=bottom>
    <TD class=h3 id=EncodingHeader colSpan=2>Character Encoding Options</TD>
    <TD vAlign=top><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD class=tabletitle>Option</TD>
    <TD class=tabletitle>Type</TD>
    <TD class=tabletitle>Default</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#ascii-chars">ascii-chars</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#char-encoding">char-encoding</A> 
    </TD>
    <TD>Encoding</TD>
    <TD>ascii</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#input-encoding">input-encoding</A> 
    </TD>
    <TD>Encoding</TD>
    <TD>latin1</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#language">language</A> 
    </TD>
    <TD>String</TD>
    <TD><STRONG>-</STRONG> </TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#newline">newline</A> 
    </TD>
    <TD>enum</TD>
    <TD><EM>Platform dependent</EM> </TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#output-bom">output-bom</A> 
    </TD>
    <TD>AutoBool</TD>
    <TD>auto</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#output-encoding">output-encoding</A> 
    </TD>
    <TD>Encoding</TD>
    <TD>ascii</TD></TR>
  <TR vAlign=bottom>
    <TD colSpan=3>&nbsp;</TD></TR>
  <TR vAlign=bottom>
    <TD class=h3 id=MiscellaneousHeader colSpan=2>Miscellaneous Options</TD>
    <TD vAlign=top><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD class=tabletitle>Option</TD>
    <TD class=tabletitle>Type</TD>
    <TD class=tabletitle>Default</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#error-file">error-file</A> 
    </TD>
    <TD>String</TD>
    <TD><STRONG>-</STRONG> </TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#force-output">force-output</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#gnu-emacs">gnu-emacs</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#gnu-emacs-file">gnu-emacs-file</A> 
    </TD>
    <TD>String</TD>
    <TD><STRONG>-</STRONG> </TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#keep-time">keep-time</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#output-file">output-file</A> 
    </TD>
    <TD>String</TD>
    <TD><STRONG>-</STRONG> </TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#quiet">quiet</A> </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#slide-style">slide-style</A> 
    </TD>
    <TD>String</TD>
    <TD><STRONG>-</STRONG> </TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#tidy-mark">tidy-mark</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>yes</TD></TR>
  <TR>
    <TD><A 
      href="quickref.html#write-back">write-back</A> 
    </TD>
    <TD>Boolean</TD>
    <TD>no</TD></TR>
  <TR vAlign=bottom>
    <TD colSpan=3>&nbsp;</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 
summary="Tidy Options Quick Reference Detail Section" border=0>
  <TBODY>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR vAlign=bottom>
    <TD class=h2 id=MarkupReference vAlign=top colSpan=2>HTML, XHTML, XML 
      Options Reference </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=add-xml-decl vAlign=top>add-xml-decl</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#char-encoding">char-encoding</A> 
      <BR><A 
      href="quickref.html#output-encoding">output-encoding</A> 
    </TD></TR>
  <TR>
    <TD colSpan=2>This option specifies if Tidy should add the XML declaration 
      when outputting XML or XHTML. Note that if the input already includes an 
      &lt;?xml ... ?&gt; declaration then this option will be ignored. If the 
      encoding for the output is different from "ascii", one of the utf 
      encodings or "raw", the declaration is always added as required by the XML 
      standard. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=add-xml-space vAlign=top>add-xml-space</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 add 
      xml:space="preserve" to elements such as &lt;PRE&gt;, &lt;STYLE&gt; and 
      &lt;SCRIPT&gt; when generating XML. This is needed if the whitespace in 
      such elements is to be parsed appropriately without having access to the 
      DTD. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=alt-text vAlign=top>alt-text</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>String</STRONG><BR>Default: 
      <STRONG>-</STRONG><BR>Example: <STRONG>-</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies the default "alt=" text Tidy uses for 
      &lt;IMG&gt; attributes. This feature is dangerous as it suppresses further 
      accessibility warnings. You are responsible for making your documents 
      accessible to people who can not see the images! </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=assume-xml-procins 
vAlign=top>assume-xml-procins</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 change the parsing of 
      processing instructions to require ?&gt; as the terminator rather than 
      &gt;. This option is automatically set if the input is in XML. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=bare vAlign=top>bare</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 strip Microsoft 
      specific HTML from Word 2000 documents, and output spaces rather than 
      non-breaking spaces where they exist in the input. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=clean vAlign=top>clean</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 strip out surplus 
      presentational tags and attributes replacing them by style rules and 
      structural markup as appropriate. It works well on the HTML saved by 
      Microsoft Office products. </TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR>
  <TR>
    <TD class=tabletitle id=css-prefix vAlign=top>css-prefix</TD>
    <TD class=tabletitlelink vAlign=top align=right><A 
      href="quickref.html#top">Top</A> </TD></TR>
  <TR>
    <TD vAlign=top>Type: <STRONG>String</STRONG><BR>Default: 
      <STRONG>-</STRONG><BR>Example: <STRONG>-</STRONG></TD>
    <TD vAlign=top align=right></TD></TR>
  <TR>
    <TD colSpan=2>This option specifies the prefix that Tidy uses for styles 
      rules. By default, "c" will be used. </TD></TR>

⌨️ 快捷键说明

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