Home>Article>Web Front-end> How to disable text box input in html
htmlHow to disable text box input: 1. Set the input to read-only status, the code is [9ab0d7627dd029de7cfee97dc8571f54]; 2. Set the input to not used Status, the code is [
The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.
htmlMethods to prohibit text box input:
There are two methods to prohibit text box input:
1. Set input to Read-only state, the code is as follows:
2. Set input to unused state, the code is as follows:
Two styles of HTML text field:
1. Text field without scroll bar (no border);
2. Text field with red border;
Related learning recommendations:html video tutorial
The above is the detailed content of How to disable text box input in html. For more information, please follow other related articles on the PHP Chinese website!