Hi.....
I have a small doubt............
I have a page which is used to send mail.
In the mail I want a link to be specified. I have written this link in the message part of the mail. this is a a text area.
I have used anchor tag.but it ain't working

I have written it this way

<textarea>
this is used to intimate you that you have a request pending.
to approve this click the following link
<a href=[URL]http://localhost:8080/travel/t_form.jsp[/URL]> userlogin</a>
</textarea>

the link is being displayed as a text rather than a link

Recommended Answers

Don't put the link in a textarea. It won't work.

Jump to Post

Place it as a normal link directly under the textarea.

Jump to Post

I assume, since you're using a textarea, that you are sending the mail in HTML format, right?

So simply place the href directly after the textarea. If it is not in HTML format, then simply placce the link (with the http(s)://) as plain text in the email, and if …

Jump to Post

All 9 Replies

Don't put the link in a textarea. It won't work.

Don't put the link in a textarea. It won't work.

then how do I write it?
I have no clue....
Please help me out.........

Place it as a normal link directly under the textarea.

Should I write the address directly without any tags.......... in the text area?

This link is sent to the recipient as a mail.when the recipient clicks on it, he must be able to open it in a new page to login

I assume, since you're using a textarea, that you are sending the mail in HTML format, right?

So simply place the href directly after the textarea. If it is not in HTML format, then simply placce the link (with the http(s)://) as plain text in the email, and if the mail program the user uses recognises links, it will automatically make it usable as a link.

I assume, since you're using a textarea, that you are sending the mail in HTML format, right?

So simply place the href directly after the textarea. If it is not in HTML format, then simply placce the link (with the http(s)://) as plain text in the email, and if the mail program the user uses recognises links, it will automatically make it usable as a link.

yippeee.....................
Hey my code is working....................
thank you..............

i am not understand this

Bold Text Herehi*hi

<a href="www.facebook.com">click here</a>

Click Here*

ghjghjhj

hgjhghgj
hgjhgj
  1. ghjhghhj
  • ghjhgj

    #

    #

Kevin: not sure what you're trying to do here, but the question was answered six years ago. might be that the sollution was already given.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.