<input> readonly and disabled attribute differences for text boxes:
This section briefly describes the main differences between the two attributes in the title, hoping to bring help to the needy friends.
The code is as follows:
<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><Metaname= "Author"content= "http://www.51texiao.cn/" /><title>Ant Tribe</title><styletype= "Text/css">Li{List-style:None;Height:30px;Line-height:30px;}</style></Head><Body><ul> <Li><inputtype= "text"value= "Ant Tribe One"ReadOnly/></Li> <Li><inputtype= "text"value= "Ant Tribe II"Disabled/></Li></ul></Body></HTML>
The above code is set up two different properties, visually different at a glance, there is a very important difference is set to read-only text box value value can be submitted by the form, but set to be unavailable text box value value is not allowed to be committed
The original address is: http://www.51texiao.cn/HTML5jiaocheng/2015/0612/4013.html
The most original address is: http://www.softwhy.com
<input> readonly and disabled attribute differences for text boxes