> For the complete documentation index, see [llms.txt](https://jen-hsuan-hsieh.gitbook.io/asp-net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jen-hsuan-hsieh.gitbook.io/asp-net/chapter1/1.1.the-complete-asp.net-mvc-5-course/14building-forms/141the-markup.md).

# 1.4.1.The Markup (labelFor, textbox, checkbox)

* The statement @using (Html.BeginForm()) and Boostrap will understand the markup in this scope:

```
@using (Html.BeginForm("Create", "Customers"))
{
    <div class = "form-group">
        @Html.LabelFor(m => m.Name)
        @Html.TextBoxFor(m => m.Name, new {@class = "form-control"})
    </div>
    <div class="form-group">
        @Html.LabelFor(m => m.Birthday)
        @Html.TextBoxFor(m => m.Birthday, new { @class = "form-control" })
    </div>
    <div class="checkbox">
        <label>
            @Html.CheckBoxFor(m => m.IsSubscribeToNesletter) Subscribed to Newsletter
        </label>
    </div>
}
```
