Home > Web Front-end > HTML Tutorial > HTML自定义属性_html/css_WEB-ITnose

HTML自定义属性_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:45:03
Original
1166 people have browsed it

HTML 自定义属性

HTML可以自定义属性吗?比如下面:

这段代码selectedItem是什么属性?table可以允许有这个属性吗?

回复讨论(解决方案)

可以自定义,属性名称不能和本身属性冲突。

准确的说xhtml支持用户定义属性。至如属性名是什么,值是什么由定义者定义

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template