Check out example codes for "html.beginform with form id". It will help you in understanding the concepts better.

Code Example 1

<form asp-controller="Account" asp-action="Register" method="post" id="signupform" role="form"></form>

Learn ReactJs, React Native from akashmittal.com