0

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>
uthumvc
  • 155
  • 1
  • 11

1 Answers1

1

By using style overloaded version of Html.ActionLink

@Html.ActionLink("Link text", "Action name", "Controller name", new { area = "" }, new { Style = "text-decoration:none;"})
Abdul Haseeb
  • 514
  • 4
  • 13