Issue #410: Amendments about HTML tag types
This commit is contained in:
parent
648a74998e
commit
feebf53719
|
|
@ -261,14 +261,14 @@ class MyCheck extends AbstractJavadocCheck {
|
|||
Checkstyle supports HTML4 tags in Javadoc comments: <a href="https://www.w3.org/TR/html4/index/elements.html">all HTML4 elements</a>.
|
||||
</p>
|
||||
<p>
|
||||
HTML 4 is picked just to have a list of tags that don't require closing tag and a list of singleton tags that don't need closing tag at all.
|
||||
HTML 4 is picked just to have a list of tags with optional end tag and a list of tags whose end tag is forbidden (also known as <a href="http://www.w3schools.com/html/html_elements.asp">empty html tags</a>, for example <a href="https://www.w3.org/TR/html4/struct/text.html#edef-BR">BR tag</a>).
|
||||
</p>
|
||||
<p>
|
||||
Tags that don't require closing tag: <P>, <LI>, <TR>, <TD>, <TH>, <BODY>, <COLGROUP>, <DD>,
|
||||
HTML tags with optional end tag: <P>, <LI>, <TR>, <TD>, <TH>, <BODY>, <COLGROUP>, <DD>,
|
||||
<DT>, <HEAD>, <HTML>, <OPTION>, <TBODY>, <THEAD>, <TFOOT>.
|
||||
</p>
|
||||
<p>
|
||||
Singleton tags that don't need closing tag: <AREA>, <BASE>, <BASEFONT>, <BR>, <COL>, <FRAME>,
|
||||
Empty HTML tags: <AREA>, <BASE>, <BASEFONT>, <BR>, <COL>, <FRAME>,
|
||||
<HR>, <IMG>, <INPUT>, <ISINDEX>, <LINK>, <META>, <PARAM>.
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue