How to add Google search to our Web page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 20

How to add Google search to our Web page?

25th Feb 2016, 11:29 AM
Sandeep Bharate
Sandeep Bharate - avatar
27 Answers
+ 104
<form action="" method="get"> <input type="text" name="q" placeholder="Find what?"/><br/> <input type="submit" value="Google it!" /> </form>
11th Jun 2016, 3:39 AM
Николай Петров
Николай Петров - avatar
+ 6
<html> <head> <title>something</title> </head> <body> <a href="">click here!</a> </body> </html>
31st May 2016, 11:28 AM
Chatla Srikar
Chatla Srikar - avatar
+ 6
Why only the first one is correct?? I think you can write them either way (the first answer and the second one)... I watched some teachers (via YouTube) who did it the same way the second did...
13th Dec 2016, 9:52 PM
Liat - avatar
+ 4
Ok the majority will search Google, but the very first answer is enough - I don't see the point here. Wouldn't you want your visitors to search Google whilst still on your website? Google has some handy code for that, and it's easy to implement.
11th Dec 2016, 4:48 AM
Mark Foxx
Mark Foxx - avatar
+ 4
by using <a href="">Type here anything</a>
13th Dec 2016, 4:36 PM
Rudransh Joshi
Rudransh Joshi - avatar
+ 3
< form method ="get" action=" > < input type ="text " value ="a" placeholder="search ">< / input > < input type ="submit " value ="submit ">search </input > </form >
11th Dec 2016, 5:17 AM
+ 1
<form method="GET" action="">
9th Nov 2016, 6:43 PM
Ameya - avatar
+ 1
only first answer is correct all others are bullshit
10th Dec 2016, 3:09 PM
manish rawat
manish rawat - avatar
+ 1
Create your own custom Google search. It'll give you the code to embed in your page.
21st Dec 2016, 2:19 AM
hyperlink = a href" site"
12th Jun 2016, 2:44 PM
RonaLdo AguiLar CapiLi
RonaLdo AguiLar CapiLi - avatar
simply used anchor <a>,<a href ="URL" > and more efficient design proper with CSS👍
19th Nov 2016, 12:31 PM
Rasheed Khan
Rasheed Khan - avatar
which do it use more?
5th Dec 2016, 7:22 PM
Hein Soe
Hein Soe - avatar
<html> <head> <title> Google</title> </head> <body> <a href=""></a> </body> </html>
8th Dec 2016, 2:18 PM
Satya Jeet
Satya Jeet - avatar
life is a play
14th Dec 2016, 1:25 PM
Rahul Chauhan
Rahul Chauhan - avatar
up to you!
21st Jan 2017, 6:00 AM
Agusifauuz - avatar
very comprehensive and detailed one with dynamic technicalities is the number one answer
25th Jan 2017, 8:34 PM
Junaid ty
Junaid ty - avatar
<html> <head> <title> Google Search</title> </head> <body> <a href="">Click here to search</a> </body> </html>
10th Feb 2018, 10:06 AM
Марк Голобородов
Марк Голобородов - avatar
- 1
Hallo erstmal, ich bin neu im Bereich html aber die Antworten oben sind korrekt falls ihr aber einen kleineren Code benötigt dann sagt mir Bescheid. Euer GermanProgrammierer
6th Jul 2016, 6:33 PM
CyberTronix - avatar
- 1
como hacer un arreglo
12th Nov 2016, 8:18 AM
Jose Carlos Catalan
Jose Carlos Catalan - avatar
- 1
2nd Dec 2016, 8:04 PM
Adam Sweilam
Adam Sweilam - avatar