<form method="post" asp-controller="Home" asp-action="Submit"> <label for="name">Name:</label> <input type="text" id="name" name="name" /> <button type="submit">Submit</button> </form>