【问题标题】:integrate google search in website将谷歌搜索集成到网站中
【发布时间】:2017-02-25 00:11:42
【问题描述】:

我有一个域,想在其他人不知道的情况下为我的 chrome 集成一个起始站点,但这不是我的问题,我想集成一个 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">

【问题讨论】:

  • 那么你的问题是什么?在你说“我该怎么做?”之前,请记住,这样的问题太宽泛了,因此会被封闭。因此,如果到目前为止您已经编写了任何代码,我强烈建议您将其添加到您的问题中。您应该阅读“how do I ask a good question?”。
  • 我编辑了帖子,我的意思是如果你在搜索框中输入“可爱的猫”,你会被转发到“google.se/…*”

标签: html css search web google-search


【解决方案1】:

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

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

https://cse.google.com/cse/

【讨论】:

  • 我在考虑一个开放的搜索栏,它可以搜索整个网络(不是深网 :D)而不是特定网站,但否则这将是完美的
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-03-07
相关资源
最近更新 更多