I do n’t say much nonsense, I will post code directly. The specific code is shown below:
<!-Method 1: Onfocus = this.blur () When the mouse cannot be placed, leave the focus-> <input type = text name = input1 value = Chinese onFocus = this.blur ()> <!-Method 2 2 : Readonly text will not be discolored, and it is also an irreplaceable-> <input type = text name = Input1 value = China Readonly> <input Type = Text name = Input1 value = China Readonly = TRUE> <!-Method 3: Disabled At this point, the text will become gray and cannot be edited. -> <input type = text name = input1 value = China Disabled = True>Summarize
The above is the HTML implementation text box introduced by the editor to you. The content of the text box cannot be modified. I hope it will be helpful to everyone. If you have any questions, please leave me a message. Xiaobian will reply to everyone in time. Thank you very much for your support for the VEVB Wulin website!