我做了一个个人主页,想在主页直接加上百度搜索功能,请问该如何弄? 谢谢!
1个回答
展开全部
<TABLE bgColor=#000000 border=0 cellPadding=0 cellSpacing=1 width=140>
<TBODY>
<TR>
<TD bgColor=#ffffff height=55>
<TABLE bgColor=#f7f7f7 border=0 cellPadding=0 cellSpacing=0 width=140>
<TBODY>
<tr>
<td width="104" height=43 rowspan="2">
<div align=center><a href="http://d.baidu.com/index.php?tn=lvchunyan2005" target=_blank><img alt=百度中文搜索引擎 border=0
src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/images/bdlogo.gif" width="100" height="40"></a></div></td>
<td width="36" height=16 valign="middle"> </td>
</tr>
<tr>
<td height=22 valign="middle"><a
href="http://union.baidu.com/paihang/index.php"
target=_blank><font style="font-size: 12px" color="#ff0000">排行榜</font></a></td>
</tr>
<TR>
<FORM action=http://www.baidu.com/baidu target=_blank>
<td height=38 colspan="2" align=middle valign=center>
<DIV align=center><FONT style="FONT-SIZE: 12px">
<input id=word2 name=word size="10" value="请输入关键字" onMouseOver="this.focus()" onblur="if (value ==''){value='请输入关键字'}" onFocus="this.select()" onClick="if(this.value=='请输入关键字')this.value=''">
</FONT>
<INPUT name=image type=image id="image" src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/go.gif" align=middle width=30 height=17 border=0>
<FONT style="FONT-SIZE: 12px"><A href="http://union.baidu.com/paihang/index.php" target=_blank></A></FONT>
<INPUT id=tn name=tn type=hidden value=dabaoku>
</DIV></TD>
</FORM>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<img src= http://un.baidu.com/images/st.gif?tn=lvchunyan2005 width=0 height=0>
把上面的代码粘贴上就可以了 但是要把大写的字母改为小写
<TBODY>
<TR>
<TD bgColor=#ffffff height=55>
<TABLE bgColor=#f7f7f7 border=0 cellPadding=0 cellSpacing=0 width=140>
<TBODY>
<tr>
<td width="104" height=43 rowspan="2">
<div align=center><a href="http://d.baidu.com/index.php?tn=lvchunyan2005" target=_blank><img alt=百度中文搜索引擎 border=0
src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/images/bdlogo.gif" width="100" height="40"></a></div></td>
<td width="36" height=16 valign="middle"> </td>
</tr>
<tr>
<td height=22 valign="middle"><a
href="http://union.baidu.com/paihang/index.php"
target=_blank><font style="font-size: 12px" color="#ff0000">排行榜</font></a></td>
</tr>
<TR>
<FORM action=http://www.baidu.com/baidu target=_blank>
<td height=38 colspan="2" align=middle valign=center>
<DIV align=center><FONT style="FONT-SIZE: 12px">
<input id=word2 name=word size="10" value="请输入关键字" onMouseOver="this.focus()" onblur="if (value ==''){value='请输入关键字'}" onFocus="this.select()" onClick="if(this.value=='请输入关键字')this.value=''">
</FONT>
<INPUT name=image type=image id="image" src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/go.gif" align=middle width=30 height=17 border=0>
<FONT style="FONT-SIZE: 12px"><A href="http://union.baidu.com/paihang/index.php" target=_blank></A></FONT>
<INPUT id=tn name=tn type=hidden value=dabaoku>
</DIV></TD>
</FORM>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<img src= http://un.baidu.com/images/st.gif?tn=lvchunyan2005 width=0 height=0>
把上面的代码粘贴上就可以了 但是要把大写的字母改为小写
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询