我认为这应该很简单,但我找不到选项!
如何为我的ActionLink获取tool-tip/alt
<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id}, new {Class = "action add"})%>
答案 0 :(得分:59)
这是html标题属性:
<%=Html.ActionLink("New", "List", "FormSummary", new {childId = Child.Id},
new {Class = "action add", title="My Tooltip" })%>