📄 quickref.html
字号:
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=decorate-inferred-ul
vAlign=top>decorate-inferred-ul</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 decorate inferred UL
elements with some CSS markup to avoid indentation to the right. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=doctype vAlign=top>doctype</TD>
<TD class=tabletitlelink vAlign=top align=right><A
href="quickref.html#top">Top</A> </TD></TR>
<TR>
<TD vAlign=top>Type: <STRONG>DocType</STRONG><BR>Default:
<STRONG>auto</STRONG><BR>Example: <STRONG>omit, auto, strict,
transitional, user</STRONG></TD>
<TD vAlign=top align=right></TD></TR>
<TR>
<TD colSpan=2>This option specifies the DOCTYPE declaration generated by
Tidy. If set to "omit" the output won't contain a DOCTYPE declaration. If
set to "auto" (the default) Tidy will use an educated guess based upon the
contents of the document. If set to "strict", Tidy will set the DOCTYPE to
the strict DTD. If set to "loose", the DOCTYPE is set to the loose
(transitional) DTD. Alternatively, you can supply a string for the formal
public identifier (FPI).<BR><BR>For example: <BR>doctype: "-//ACME//DTD
HTML 3.14159//EN"<BR><BR>If you specify the FPI for an XHTML document,
Tidy will set the system identifier to an empty string. For an HTML
document, Tidy adds a system identifier only if one was already present in
order to preserve the processing mode of some browsers. Tidy leaves the
DOCTYPE for generic XML documents unchanged. <CODE>--doctype omit</CODE>
implies <CODE>--numeric-entities yes</CODE>. This option does not offer a
validation of the document conformance. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=drop-empty-paras vAlign=top>drop-empty-paras</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 discard empty
paragraphs. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=drop-font-tags vAlign=top>drop-font-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 discard <FONT>
and <CENTER> tags without creating the corresponding style rules.
This option can be set independently of the clean option. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=drop-proprietary-attributes
vAlign=top>drop-proprietary-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 strip out proprietary
attributes, such as MS data binding attributes. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=enclose-block-text
vAlign=top>enclose-block-text</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 insert a <P>
element to enclose any text it finds in any element that allows mixed
content for HTML transitional but not HTML strict. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=enclose-text vAlign=top>enclose-text</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 enclose any text it
finds in the body element within a <P> element. This is useful when
you want to take existing HTML and use it with a style sheet. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=escape-cdata vAlign=top>escape-cdata</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 convert
<![CDATA[]]> sections to normal text. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=fix-backslash vAlign=top>fix-backslash</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 replace backslash
characters "<CODE>\</CODE>" in URLs by forward slashes "<CODE>/</CODE>".
</TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=fix-bad-comments vAlign=top>fix-bad-comments</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 replace unexpected
hyphens with "=" characters when it comes across adjacent hyphens. The
default is yes. This option is provided for users of Cold Fusion which
uses the comment syntax: <!--- ---> </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=fix-uri vAlign=top>fix-uri</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 check attribute values
that carry URIs for illegal characters and if such are found, escape them
as HTML 4 recommends. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=hide-comments vAlign=top>hide-comments</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 out comments.
</TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=hide-endtags vAlign=top>hide-endtags</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 omit optional end-tags
when generating the pretty printed markup. This option is ignored if you
are outputting to XML. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=indent-cdata vAlign=top>indent-cdata</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 indent
<![CDATA[]]> sections. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=input-xml vAlign=top>input-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 use the XML parser
rather than the error correcting HTML parser. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=join-classes vAlign=top>join-classes</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#join-styles">join-styles</A>
<BR><A
href="quickref.html#repeated-attributes">repeated-attributes</A>
</TD></TR>
<TR>
<TD colSpan=2>This option specifies if Tidy should combine class names to
generate a single new class name, if multiple class assignments are
detected on an element. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=join-styles vAlign=top>join-styles</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><A
href="quickref.html#join-classes">join-classes</A>
<BR><A
href="quickref.html#repeated-attributes">repeated-attributes</A>
</TD></TR>
<TR>
<TD colSpan=2>This option specifies if Tidy should combine styles to
generate a single new style, if multiple style values are detected on an
element. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=literal-attributes
vAlign=top>literal-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 ensure that whitespace
characters within attribute values are passed through unchanged. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=logical-emphasis vAlign=top>logical-emphasis</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 any occurrence
of <I> by <EM> and any occurrence of <B> by
<STRONG>. In both cases, the attributes are preserved unchanged.
This option can be set independently of the clean and drop-font-tags
options. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=lower-literals vAlign=top>lower-literals</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 convert the value of an
attribute that takes a list of predefined values to lower case. This is
required for XHTML documents. </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=merge-divs vAlign=top>merge-divs</TD>
<TD class=tabletitlelink vAlign=top align=right><A
href="quickref.html#top">Top</A> </TD></TR>
<TR>
<TD vAlign=top>Type: <STRONG>AutoBool</STRONG><BR>Default:
<STRONG>auto</STRONG><BR>Example: <STRONG>auto, y/n, yes/no, t/f,
true/false, 1/0</STRONG></TD>
<TD vAlign=top align=right><A
href="quickref.html#clean">clean</A>
</TD></TR>
<TR>
<TD colSpan=2>Can be used to modify behavior of -c (--clean yes) option.
This option specifies if Tidy should merge nested <div> such as
"<div><div>...</div></div>". If set to "auto", the
attributes of the inner <div> are moved to the outer one. As well,
nested <div> with ID attributes are not merged. If set to "yes", the
attributes of the inner <div> are discarded with the exception of
"class" and "style". </TD></TR>
<TR>
<TD> </TD></TR>
<TR>
<TD class=tabletitle id=ncr vAlign=top>ncr</TD>
<TD class=tabletitlelink vAlign=top align=right><A
href="quickref.html#top">Top</A> </TD></TR>
<TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -