I like to do something like the following in my MVC View:
@Html.ActionLink("How do <i>This</i>", "Vtd", "Crs", new { Text= Html.Encode("How it works"}, null)
Notice how I want This to be in italics as a hyperlink
I like to do something like the following in my MVC View:
@Html.ActionLink("How do <i>This</i>", "Vtd", "Crs", new { Text= Html.Encode("How it works"}, null)
Notice how I want This to be in italics as a hyperlink
As far as Html.ActionLink()
just render <a href=".."></a>
tag maby that's not the best way to achive your goal.
I belive in your case it's better to use Url.Action()
helper like this:
<a href="@Url.Action("Vtd", "Crs", new { Text= Html.Encode("How it works"}, null })">
How do <i>This</i>
</a>