Add line break for long link title in Html.ActionLink MVC2

I have a long name and need to add something like line break in ActionLink. I tried \ r \ n as well as System.Environment.NewLine ... all without success.

<%=Html.ActionLink("Long title goes here", "index", "Overview")%>
+5
source share
1 answer

You can try something like this:

<a href="<%= Url.Action("index", "overview") %>">
    Long title first line<br/>
    Long title second line<br/>
    Long title third line
</a>
+9
source

All Articles