We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML元素的布尔属性有哪些?
The text was updated successfully, but these errors were encountered:
disabled、hidden
Sorry, something went wrong.
readonly disabled hidden selected checked
1.noshade,用来表示有无阴影,多用于在
2.ckecked,用来表示是否默认选中,多用于单选按钮和多选按钮中,需要注意的是,在中需要用相同的name才能达到单选框的效果
3.selected,用来表示是否优先显示,用于下拉表单和只能下拉表单中
4.autofocus,用来自动获取焦点,用于有输入框的标签中
5.readonly,只读属性,可以获取焦点,数据会传递给后台,适合于能输入的文本框,比如text
6.disabled,禁用属性,可以使其无法获取焦点,数据无法传递给后台,在输入文本和按钮都可以用
7.require,用来表示必须选择,多用于标签中
No branches or pull requests
HTML元素的布尔属性有哪些?
The text was updated successfully, but these errors were encountered: