View clickable link coming from database [duplicate]

1

I want to display the link that can be clickable, appearing as text:

I'm using the code below, but it still comes as text and I can not click:

@Html.Raw(HttpUtility.HtmlDecode(item.Facebook))
    
asked by anonymous 29.12.2016 / 22:34

1 answer

0

Place:

<a href="@HttpUtility.HtmlDecode(item.Facebook)">Texto do Link</a>
    
30.12.2016 / 00:23