10.1.3 HTML disabled 属性
disable 属性 -- 表示已经失效的输入域(框)
示例
<form
id
=
"dreamduform"
action
=
"dreamdu.php"
method
=
"post"
>
<label
for
=
"fav"
>
计算机</label>
<input
type
=
"checkbox"
value
=
"1"
id
=
"fav"
name
=
"fav"
/>
<label
for
=
"fav"
>
旅游</label>
<input
type
=
"checkbox"
value
=
"2"
id
=
"fav"
name
=
"fav"
disabled
=
"disabled"
/>
<label
for
=
"fav"
>
购物</label>
<input
type
=
"checkbox"
value
=
"3"
id
=
"fav"
name
=
"fav"
/>
</form>