HTML中,input标签默认是有边框(border)和背景色属性的。可以在CSS中加入border:none;(或者在html中加入style="border:none;")可以去掉边框。 input标签在鼠标点击时,会有黄色的边框。