htmlelements.java
来自「HTML解析器是一个Java库」· Java 代码 · 共 132 行 · 第 1/5 页
JAVA
132 行
* <a href="#HTMLElement">elements</a>.
* <p>
* An <i><a name="HTMLElement">HTML element</a></i> is a <a href="Element.html#Normal">normal element</a> with a
* {@linkplain Element#getName() name} that matches one of the {@linkplain HTMLElementName HTML element names} (ignoring case).
* This type of element spans the logical HTML element as described in the
* <a target="_blank" href="http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.1">HTML 4.01 specification section 3.2.1</a>,
* which may be <a href="Element.html#ImplicitlyTerminated">implicitly terminated</a> if it specifies an
* {@linkplain #getEndTagOptionalElementNames() optional end tag}.
* <p>
* The term <i><a name="NonHTMLElement">Non-HTML element</a></i> refers to a <a href="Element.html#Normal">normal element</a>
* with a {@linkplain Element#getName() name} that does not match one of the {@linkplain HTMLElementName HTML element names}.
* This type of element must be either a <a href="Element.html#SingleTag">single tag element</a> or
* <a href="Element.html#ExplicitlyTerminated">explicitly terminated</a>.
* <p>
* All of the sets returned by the methods in this class may be modified to customise the behaviour of the parser.
* Care must be taken however to ensure that the sets only contain tag names in lower case.
* <p>
* Below is a table summarising the default characteristics of each <a href="#HTMLElement">HTML element</a>. See also the
* <a target="_blank" href="http://www.w3.org/TR/html401/index/elements.html">index of elements in the HTML 4.01 specification</a>
* for the official table containing similar information.
* <p>
* <style type="text/css">
* table#ElementSummary td, table#ElementSummary th {padding: 0px 5px 0px 5px}
* .StartTagOptionalColumn {text-align: center}
* .NestingForbiddenColumn {text-align: center}
* .DeprecatedColumn {text-align: center}
* </style>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?