" method; 2. Hiding through "display:none"; 3. Hiding through "visibility: hidden"."/> " method; 2. Hiding through "display:none"; 3. Hiding through "visibility: hidden".">
Home > Article > Web Front-end > How to hide html controls
How to hide the html control: 1. Hidden through the "" method; 2. Hidden through "display:none"; 3. Visibility: hidden "Achieve hiding.
The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.
Hide an html text box control:
Can be hidden
1.
2.< ;input type="text" style="display:none" />
The above two methods can hide without leaving traces.
3.
The third method can hide the placeholder (leaving a blank space without displaying it) )
[Recommended learning: HTML video tutorial]
The above is the detailed content of How to hide html controls. For more information, please follow other related articles on the PHP Chinese website!