Java HTML htmlLink(String url, String linkName)

Here you can find the source of htmlLink(String url, String linkName)

Description

html Link

License

Open Source License

Declaration

private static String htmlLink(String url, String linkName) 

Method Source Code

//package com.java2s;

public class Main {
    private static String htmlLink(String url, String linkName) {
        return new StringBuffer().append("<a href=\"").append(url).append("\">").append(linkName).append("</a>")
                .toString();/* ww  w.j ava2 s .  c  o  m*/
    }
}

Related

  1. htmlHashTag(final String tagName)
  2. htmlHeaderGen(String errorMsg)
  3. htmlify(String str)
  4. htmlItemName(int itemId)
  5. htmlLineBreaks(String s)
  6. htmlNewline(String text)
  7. htmlSafe(String field)
  8. htmlSafe(String value)
  9. htmlSize(String str)