MVC Razor is a powerful technique to generate HTML controls. So I have created this post to demonstrate you to how can you generate simple HTML controls using razor code.
Textbox
Razor
@Html.TextBox("Test",null, new {
placeholder=@Model.FullName, @class = "form-control",@onclick="test()" })