code: public static HtmlTree A_NAME(String name) {
          HtmlTree htmltree = new HtmlTree(HtmlTag.A);
          htmltree.addAttr(HtmlAttr.NAME, nullCheck(name));
          return htmltree;
      }
docs: Generates an HTML anchor tag with name attribute.
  
  @param name name for the anchor tag
  @return an HtmlTree object