1.input="text"
<input type="text" readonly="readonly" />2.input="checkbox"
<input type="checkbox" disabled=“disabled” /><input type="checkbox" onclick="return false" />
本文详细介绍了HTML中input标签的两种类型:文本框(text)与复选框(checkbox)的使用方法及其属性设置,包括只读(readonly)及禁用(disabled)状态的实现方式。
1.input="text"
<input type="text" readonly="readonly" />2.input="checkbox"
<input type="checkbox" disabled=“disabled” /><input type="checkbox" onclick="return false" />
4287

被折叠的 条评论
为什么被折叠?