public static HtmlTree SPAN ( HtmlStyle styleClass , Content body ) { HtmlTree htmltree = new HtmlTree ( HtmlTag . SPAN , nullCheck ( body ) ) ; if ( styleClass != null ) htmltree . addStyle ( styleClass ) ; return htmltree ; }
Generates a SPAN tag with style class attribute and some content .