public static HtmlTree A ( String ref , Content body ) { HtmlTree htmltree = new HtmlTree ( HtmlTag . A , nullCheck ( body ) ) ; htmltree . addAttr ( HtmlAttr . HREF , encodeURL ( ref ) ) ; return htmltree ; }
Generates an HTML anchor tag .