public static HtmlTree LINK ( String rel , String type , String href , String title ) { HtmlTree htmltree = new HtmlTree ( HtmlTag . LINK ) ; htmltree . addAttr ( HtmlAttr . REL , nullCheck ( rel ) ) ; htmltree . addAttr ( HtmlAttr . TYPE , nullCheck ( type ) ) ; htmltree . addAttr ( HtmlAttr . HREF , nullCheck ( href ) ) ; htmltree . addAttr ( HtmlAttr . TITLE , nullCheck ( title ) ) ; return htmltree ; }
Generates a LINK tag with the rel type href and title attributes .