diff --git a/src/xdocs/writingjavadocchecks.xml.vm b/src/xdocs/writingjavadocchecks.xml.vm index 5ca3a5443..a1b93e2e0 100644 --- a/src/xdocs/writingjavadocchecks.xml.vm +++ b/src/xdocs/writingjavadocchecks.xml.vm @@ -261,14 +261,14 @@ class MyCheck extends AbstractJavadocCheck { Checkstyle supports HTML4 tags in Javadoc comments: all HTML4 elements.

- 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 empty html tags, for example BR tag).

- 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>.

- 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>.