TextBox/TextArea:-
Html.TextBox method is used to renter the “input” tag with “type” attribute as “text”. NormallyTextBox helper is used to get the input from user i.e (Create or Edit view screen)
View:@Html.TextBox("EmployeeName", Model.EmployeeName)
Render:
Html.TextArea() method is used to renter the “<textarea>” tag as mention below. It also provides overloaded method to specify the no of columns and rows to display.
View:@Html.TextArea("text", "hello
world")
Render: