HTML标签到ASP.NET MVC5中的@ Html.ActionLink

时间:2018-12-03 04:05:57

标签: html css asp.net-mvc-5

我尝试将HTML标签转换为@ Html.ActionLink

<a href="@Url.Action("Login","Signup")" class="button_container header_button ml-auto" data-toggle="modal"><div style="float:right;" class="button text-center"><span>Login</span></div></a>



 @Html.ActionLink("Login", "Login", "Signup", null, new { @class = "button_container header_button ml-auto"  })<div style="float:right;" class="button text-center"></div>

0 个答案:

没有答案