public static HtmlTree SCRIPT ( ) { HtmlTree htmltree = new HtmlTree ( HtmlTag . SCRIPT ) ; htmltree . addAttr ( HtmlAttr . TYPE , "text/javascript" ) ; return htmltree ; }
Generates a SCRIPT tag with the type attribute .