如何在我的搜索框中添加默认值的颜色和字体。
<input type="text" name="q" value="Enter your keywords here"
onfocus="if (this.value == 'Enter your keywords here') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter your keywords here';}"
onwebkitspeechchange = "this.value = this.value.replace('Enter your keywords here','')";
x-webkit-speech style="left:9px;top:4px;position:relative;background-color:#fafafa;border:1px solid;color:#333;font-size:1.4em;width:400px;height:28px"; />