test/tools/doclint/html/TagNotAllowed.java

changeset 1507
967052c425a1
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
equal deleted inserted replaced
1506:4a3cfc970c6f 1507:967052c425a1
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8004832
4 * @summary Add new doclint package
5 * @library ..
6 * @build DocLintTester
7 * @run main DocLintTester -ref TagNotAllowed.out TagNotAllowed.java
8 */
9
10 /**
11 * <dl> <b>abc</b> <dt> term </dt> <b>def</b> <dd> description </dd> <b>ghi</b> </dl>
12 * <ol> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ol>
13 * <ul> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ul>
14 *
15 * <table summary=description> <b>abc</b> </table>
16 * <table summary=description> <thead> <b>abc</b> </thead> </table>
17 * <table summary=description> <tbody> <b>abc</b> </tbody> </table>
18 * <table summary=description> <tfoot> <b>abc</b> </tfoot> </table>
19 * <table summary=description> <tr> <b>abc</b> </tr> </table>
20 *
21 * <pre>
22 * <img alt="image" src="image.png">
23 * <p> para </p>
24 * <big> text </big>
25 * <small> text </small>
26 * <sub> text </sub>
27 * <sup> text </sup>
28 * </pre>
29 */
30 public class TagNotAllowed { }

mercurial