providing id to html.begin form code example
Example 1: html beginform asp.net mvc add id
<% using (Html.BeginForm(null, null, FormMethod.Post, new { id = "signupform" }))
{ } %>
Example 2: html.beginform with form id
<form asp-controller="Account" asp-action="Register" method="post" id="signupform" role="form"></form>