使用javascript <input id="Text1" type="text" onfocus="javascript:if(this.value=='请输入关键字')this.value=''" value="请输入关键字"/>