如何在文本区域中插入包含纯文本的超链接? [英] How to insert hyper links including plain text into text area?

查看:116
本文介绍了如何在文本区域中插入包含纯文本的超链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我的要求是我在文本区输入一些文字。在该文本区域中,如果我输入任何链接,那么这些链接应显示为超链接而不是纯文本。我该如何解决这个问题。任何人请为此问题提供任何技巧。



谢谢你..

Hi,

My requirement is i am entering some text into text area. In that text area if i enter any links, then those links should be appear as hyper links not as plain text. How can i resolve this issue. Anybody please give any trick for this issue.

Thank u..

推荐答案

我认为你可以不显示textarea内的链接。

你可以使用Richtextbox来实现这个目标

参考这个链接

与RichTextBox中的任意文本的链接 [ ^ ]
I think you can't display links inside a textarea.
you can use Richtextbox to achieve this
refer this link
Links with arbitrary text in a RichTextBox[^]


您无法在文本区域内显示超链接标签。它将仅显示为原始文本。

textarea将仅保留文本数据。

textarea中允许的文本除外



你可以检查这个类似的帖子。

我们如何在文本框中的textarea中插入超链接 [ ^ ]
You cannot display hyperlink inside a text area tag. it will display as a raw text only.
textarea will hold only text data.
nothing other than text is allowed inside textarea

you can check this similar post.
How we insert hyperlink in textarea in textbox[^]


这篇关于如何在文本区域中插入包含纯文本的超链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆