<form action="
http://www.baidu.com/baidu" target="_blank">
<table bgcolor="#FFFFFF"><tr><td>
<input name=tn type=hidden value=baidu>
<input type=text name=word size=30 style="width:210px;height:25px;line-height:25px;">
<input type="submit" value="百度搜索" style="border:1px #ccc solid;padding:6px;">
</td></tr></table>
</form>
<table bgcolor="#FFFFFF"><tr><td>
<input name=tn type=hidden value=baidu>
<input type=text name=word size=30 style="width:210px;height:25px;line-height:25px;">
<input type="submit" value="百度搜索" style="border:1px #ccc solid;padding:6px;">
</td></tr></table>
</form>
本文提供了一个简单的HTML表单代码示例,该表单用于提交搜索请求至百度搜索引擎。代码中包含了输入框及提交按钮的设计样式。

被折叠的 条评论
为什么被折叠?



