Html 在网站中集成谷歌搜索

Html 在网站中集成谷歌搜索,html,css,search,web,google-search,Html,Css,Search,Web,Google Search,我有一个域名,想在没有人知道的情况下为我的chrome集成一个startsite,但这不是我的问题,我想集成一个google搜索引擎,这样你就可以在google上搜索并转发结果 <style type="text/css"> button{ width:128px; height: 128px; left: 40%; position: relative; } button img{ width: 128px; height: 128px; margin-left: -8px; m

我有一个域名,想在没有人知道的情况下为我的chrome集成一个startsite,但这不是我的问题,我想集成一个google搜索引擎,这样你就可以在google上搜索并转发结果

<style type="text/css">
button{
width:128px;
height: 128px;
left: 40%;
position: relative;
}

button img{
width: 128px;
height: 128px;
margin-left: -8px;
margin-top: -4px;
}

input{
height: 45px;
width: 300px;
font-size: 18px;
margin-bottom: 20px;
background-color: #fff;
padding-left: 20px;
text-align: center;
left: 32%;
position: relative;
}
</style>

<button><img src="youtube.jpg"></button>

<br>

<input type="search" name="search" placeholder="Search on google here">

钮扣{
宽度:128px;
高度:128px;
左:40%;
位置:相对位置;
}
按钮式img{
宽度:128px;
高度:128px;
左边距:-8px;
利润上限:-4px;
}
输入{
高度:45px;
宽度:300px;
字号:18px;
边缘底部:20px;
背景色:#fff;
左侧填充:20px;
文本对齐:居中;
左:32%;
位置:相对位置;
}


有很多免费的替代方案可以为您做到这一点

如果您想要更具体的内容,请尝试谷歌自定义搜索:


那么你的问题是什么?在你说“我该怎么做?”之前,请记住,像这样的问题太宽泛了,因此将被关闭。因此,如果您已经编写了任何代码,我强烈建议将其添加到您的问题中。你应该读一读。我编辑了这篇文章,我的意思是如果你在搜索框中输入“可爱的猫”,你会被转发到“*”。我想用一个开放的搜索栏来搜索整个网站(不是deepweb:D),而不是特定的网站,但如果不是这样的话,这将是完美的