How can I take links from a user and display them in my page properly?
<p>I am developing a Java project in which I will take the text from a user in a <code>textArea</code> and generate an HTML page with that text. </p>

<p>I want to allow the user to add links in the generated HTML Page. As I am taking the page contents from the user, I also need to take the link name and the URL from the user.</p>

<p>How can I provide this functionality?</p>
