How to apply input which has a type email to HTML Helper in Asp.net MVC3 Razor. For example:
<input type="email" name="name" value=" " placeholder="[email protected]" />
Is there alternative in Razor?
You can use Html.TextBox method.
@Html.TextBox("name","", new { type = "email", placeholder = "[email protected]" })