Today I want to summarize several very useful HTML tags, which are often used in development. People who are not familiar with them may not know them very well. They are: Copy code The code is as follows:readonly, disabled, autocomplete readonly means that the value of this field cannot be modified. It can only be used with type="text". It can be copied, selected, and receive focus. The background will receive the value. Copy code The code is as follows:<input type="text" name="www.xxx" readonly="readonly" /> disabled means the input element is disabled. It cannot be edited, copied, selected, or receive focus. The background will not receive the value. Copy code The code is as follows:<input type="text" name="www.xxx.com" disabled="disabled" /> You can also block the input method through CSS: <input style="ime-mode: disabled"> Finally, let me introduce a commonly used tag. The browser usually records the input box, so when you enter, you often drop down a lot of content, as shown below: If you want to remove it, it is best to add autocomplete="off", the usage is as follows: autocomplete="off" Copy code The code is as follows:<input type="text" autocomplete="off" id="number"/> |
<<: UCenter Home site adds statistics code
>>: Solve the problem of Navicat for MySQL reporting 2005 error when connecting to MySQL
1. TCP Wrappers Overview TCP Wrappers "wraps...
Page replacement algorithm: The essence is to mak...
iOS 1. URL scheme This solution is basically for ...
Table of contents The origin of JSBridge The bidi...
Core SQL statements MySQL query statement that do...
<br />Based on the original width-and-height...
Here are 30 best practices for HTML beginners. 1....
Table of contents Preface 1. Demand and Effect ne...
For example, he enters: XML/HTML Code div#page>...
Recently, the following effects need to be achiev...
What is a selector? The role of the selector is t...
Table of contents 1. Install the psutil package S...
Preface The original project was placed on the pu...
Preface MySQL continued to maintain its strong gr...