实际上,我想从此搜索框中删除表格格式,而不更改任何ID(值)。这是“搜索图片”框:
这是HTML代码:
<form action='/search' id='search-form' method='get' style='display: inline;'>
<table>
<tbody>
<tr>
<td class='search-box'><input id='search-box' name='q' onblur='if(this.value=='')this.value=this.defaultValue;' onfocus='if(this.value==this.defaultValue)this.value='';' type='text' value='Search Your Keyword...'/></td>
<td class='search-button'><input id='search-button' type='submit' value=''/></td>
</tr>
</tbody>
</table>
</form>