vb.net - 如何在 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"})
但它似乎没有正确的语法。知道正确的语法吗?
解决方案
推荐阅读
- javascript - 为 material-ui 实现 createMatchMedia()。我正在使用材质 ui 隐藏组件来隐藏按钮,同时我正在尝试测试它们
- javascript - 节点 JS 日期对象在夏令时前后表现异常
- java - 在 Mosquitto MQTT SSL/TLS 实例和客户端 Java 应用程序中使用 DigiCert 全局根 CA
- c - 在 C 中使用带有内联函数名称的常规函数
- reactjs - 是否可以扩展材质 ui 组件的可能选项?
- reactjs - 配置 k8s nginx 入口以路由 React SPA 和后端 api
- python - html源python BeautifulSoup中不存在奇怪的字符
- javascript - 在数据库 DISCORD:JS 中保存不和谐的表情符号
- c# - 如何使用 LiveCharts 在 LineSeries 中绑定值属性
- docker - PhpStorm Docker 远程 PHP 解释器停止响应消息“检查 PHP 安装”