百度站内搜索html源代码
代码样例如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
form{
text-align: center;
}
form .text {
display: inline-block;
border: 0;
width: 260px;
height: 35px;
font-size: 14px;
outline: none;
border: 2px solid #01af63;
}
form .search {
width: 90px;
height: 38px;
border: 2px solid #01af63;
outline: none;
cursor: pointer;
/* cursor: pointer; 鼠标悬停或点击时button时鼠标变成其他图标 */
text-align: center;
background-color: #01af63;
color: #FFFFFF;
}
</style>
</head>
<body>
<form target="_blank" method="get" action="https://www.baidu.com/s?">
<input type="hidden" name="tn" value="ideng">
<input type="hidden" name="si" value="51jrft.com">
<input type="hidden" name="ct" value="2097152">
<input type="text" placeholder="请输入论文关键词" name="wd" class="text" />
<input type="submit" value="搜索" class="search">
</form>
</body>
</html>
展示效果:
我们输入;蒙牛营业能力分析
查询效果如下:
原文链接:http://www.jxszl.com/biancheng/dedecms/444555.html