Source Code : List HTML Values
Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com.
Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com.
Click Here or search from google with Libraries Name you get jar file related it
List HTML Values

/*
Core SWING Advanced Programming
By Kim Topley
ISBN: 0 13 083292 8
Publisher: Prentice Hall
*/
import javax.swing.text.html.HTML;
public class ListHTMLValues {
public static void main(String[] args) {
HTML.Tag[] tags = HTML.getAllTags();
HTML.Attribute[] attrs = HTML.getAllAttributeKeys();
System.out.println("HTML Tags:");
for (int i = 0; i < tags.length - 1; i++) {
System.out.print(tags[i] + ", ");
if ((i % 8) == 7) {
System.out.println("");
}
}
System.out.println(tags[tags.length - 1]);
System.out.println("
HTML Attributes:");
for (int i = 0; i < attrs.length - 1; i++) {
System.out.print(attrs[i] + ", ");
if ((i % 8) == 7) {
System.out.println("");
}
}
System.out.println(attrs[attrs.length - 1]);
}
}
Thank with us