Render span tag with title attribute with ASP.NET MVC 3 Helpers

前端 未结 5 1941
离开以前
离开以前 2021-02-05 07:11

It\'s possible to add a HTML title attribute to an input tag like so:

@Html.TextBoxFor(model => model.Name, new { title = \"Customer name\" })
         


        
5条回答
提交回复
热议问题