Please how can i make use of the html.actionlink() without having the String LinkText Underlined.
Below is the HTML
<div class="w3-bar-item w3-button w3-hover-opacity">
<i class="fa fa-home w3-xlarge">
@Html.ActionLink("Home", "Index", "Home", new { area = "" }, new { onclick="showSpinner()"})
</i>
</div>
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
By using style overloaded version of Html.ActionLink
@Html.ActionLink("Link text", "Action name", "Controller name", new { area = "" }, new { Style = "text-decoration:none;"})
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0