繁体   English   中英

没有值的HTML属性的术语

[英]Term for HTML attributes without a value

是否有一个术语用于描述具有缺失值的HTML属性的语法?

例如

<td nowrap>
<td nowrap="nowrap">

根据规范,它们被称为布尔属性。 请参阅http://w3c.github.io/html/infrastructure.html#sec-boolean-attributes

这些属性称为布尔属性。 https://www.w3.org/TR/2008/WD-html5-20080610/semantics.html (参见第3.2.2节)。

不要被具有布尔值的属性混淆。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM