Html 是否可以使用 href 直接链接到 Google 搜索结果?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/36205013/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is it possible to link directly to Google search results using href?
提问by Frank
I would like to link directly to a search results page from a standard link. To give an example of what I'm hoping for, here is some pseudocode:
我想从标准链接直接链接到搜索结果页面。为了举例说明我所希望的,这里有一些伪代码:
<a href = "https://www.google.com/search?keywords=My+Search+Parameters">Click here to search Google</a>
Is there any way to do this? I would like to redirect my users directly to a search results page so they can see real results on the web.
有没有办法做到这一点?我想将我的用户直接重定向到搜索结果页面,以便他们可以在网络上看到真实的结果。
回答by Devnsyde
Please have a look at the link below:
请查看以下链接:
http://www.googleguide.com/linking.html
http://www.googleguide.com/linking.html
<a href=”http://www.google.com/search?q=Google+tutorial+create+link”>
Google tutorial create link
</a>