asp.net - 这个属性 "headerindex="5h"是什么?

标签 asp.net xhtml sitecore web-standards semantic-markup

我在一个基于 CMS(sitecore)、基于 Asp.net 2.0 Webform 的网站上看到了这个。

<a class="boardTextLink " id="boardTextLink6" headerindex="5h">

它在语义上正确并且 w3c 有效吗?我们可以创建和使用这样的自定义属性吗?这是好的做法吗?

最佳答案

它是一个私有(private)的虚构属性,可能放置在那里供某些 JavaScript 检查/使用

关于asp.net - 这个属性 "headerindex="5h"是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2368996/

相关文章:

javascript - jQuery 选择具有特定属性的第一个 child

Sitecore Personalize 无法正常工作

c# - ASP.Net intellisense 错误地建议路径为 webroot

ASP.Net 复选框缺少 CSS 类

javascript - 在变暗的页面上显示模态 DIV

css - 如何将 div 定位在另一个带有图像的 div 下方?

asp.net - IIS 7 中的 session 超时如何工作?

xslt - 简单的 XSLT 问题 : How can I add the closing "/" at the end of a single tag?

Sitecore - 在多站点设置中分别处理每个站点的 500 个错误

asp.net-mvc - Sitecore:添加到此处按钮未显示在占位符上