首页 > 解决方案 > 如何在 VB.script 的 html 助手中添加 aria-label

问题描述

我正在尝试将 aria-label 添加到@Html.TextBoxFor,例如,

 @Html.TextBoxFor(Function(m) m.Config.Notes, New With {.id = "Notes", .class = "notes",.aria-label="something"})

但它似乎没有正确的语法。知道正确的语法吗?

标签: vb.net

解决方案


推荐阅读