html怎么隐藏input标签

一、

<input type="hidden" />
二、
<input type="text" style="display:none" />
以上两种方法可以实现不留痕迹的隐藏。
三、
<input type="text" style="visibility: hidden;" />
第三种方法可以实现占位隐藏(会留下空白而不显示)

原文地址:https://www.cnblogs.com/nxmxl/p/12317288.html