htmlatributes calling a button razor code example
Example: button action asp net
<input type="button" value="Create" onclick="location.href='@Url.Action("Create", "User")'" />
<input type="button" value="Create" onclick="location.href='@Url.Action("Create", "User")'" />