alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (HtmlTagsTest.java)

This example Java source code file (HtmlTagsTest.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

htmltagstest

The HtmlTagsTest.java Java example source code

/*
 * @test /nodynamiccopyright/
 * @bug 8004832
 * @summary Add new doclint package
 * @build DocLintTester
 * @run main DocLintTester -Xmsgs:-html HtmlTagsTest.java
 * @run main DocLintTester -ref HtmlTagsTest.out HtmlTagsTest.java
 */

/** */
public class HtmlTagsTest {
    /**
     * <xyz> ... 
     */
    public void unknownTag1() { }

    /**
     * <div>  
*/ public void unknownTag2() { } /** * <br/> */ public void selfClosingTag() { } /** * <html> */ public void not_allowed() { } /** * <span>

*/ public void not_allowed_inline() { } /** * {@link java.lang.String <p> } * {@link java.lang.String <p> } */ public void not_allowed_inline_2() { } /** * <img src="any.jpg" alt="alt"> */ public void end_not_allowed() { } /** * <i> */ public void start_not_matched() { } /** * <i> */ public void end_unexpected() { } /** * <ul> text

  • ...
  • */ public void text_not_allowed() { } /** * <ul> text
  • ...
  • */ public void inline_not_allowed() { } }

    Other Java examples (source code examples)

    Here is a short list of links related to this Java HtmlTagsTest.java source code file:

    ... this post is sponsored by my books ...

    #1 New Release!

    FP Best Seller

     

    new blog posts

     

    Copyright 1998-2021 Alvin Alexander, alvinalexander.com
    All Rights Reserved.

    A percentage of advertising revenue from
    pages under the /java/jwarehouse URI on this website is
    paid back to open source projects.