@Html.TextBox("Name", null, new { @class = "form-control" })
<input class="form-control" id="Name"name="Name"type="text"value=""/>
@Html.TextBox("Name", "Stack Overflow", new { @class = "form-control" })
<input class="form-control" id="Name"name="Name"type="text" value="Stack Overflow"/>
@Html.TextArea("Notes", null, new { @class = "form-control" })
<textarea class="form-control" id="Notes" name="Notes" rows="2" cols="20"></textarea>
@Html.TextArea("Notes", "Please enter Notes", new { @class = "form-control" })
<textarea class="form-control" id="Notes" name="Notes" rows="2" cols="20" >Please enter Notes</textarea>
@Html.Label("Name","FirstName")
<label for="Name"> FirstName </label>
@Html.Label("Name", "FirstName", new { @class = "NameClass" })
<label for="Name" class="NameClass">FirstName</label>
@Html.Hidden("Name", "Value")
<input id="Name" name="Name" type="hidden" value="Value" />
@Html.CheckBox("isStudent", true)
<input checked="checked" id="isStudent" name="isStudent" type="checkbox" value="true" />
@Html.Password("StudentPassword")
<input id="StudentPassword" name="StudentPassword" type="password" value="" />