Learn to Code via Tutorials on Repl.it!

← Back to all posts
Search engine in just 2 lines of code of html
HARSHITHSEYONB (1)

html css js is used for this and a web dont forget it its a very useful one u can make money too with
k first we open the index.html do anything with it...
open this web in this imagge

ok now make a search engine with just adding one web to sites to search then type ur search engines name click that done button
after getting that code put it inside a div tag

u will be getting a code copy it and paste under your body tag
then if you want to do customizing dont use css go to that site and customize and save,get code for those modifications

search engine is ready

Comments
hotnewtop
[deleted]

dude it aint 2 lines of html

HARSHITHSEYONB (1)

@Aphmeta use this code under a body tag

<div> <script async src="https://cse.google.com/cse.js?cx=2cad285cfd7dc1213"></script> <div class="gcse-search"></div> </div>
HARSHITHSEYONB (1)

@Aphmeta ok if it works plz upvote me plz

[deleted]

@HARSHITHSEYONB k :D just did

HARSHITHSEYONB (1)

@Aphmeta if yes mind teaming or upvoting me plz

codingjlu (480)

How is this 2 lines of html??

HARSHITHSEYONB (1)

@codingjlu use this under body tag

<script async src="https://cse.google.com/cse.js?cx=2cad285cfd7dc1213"></script><div class="gcse-search"></div>
HARSHITHSEYONB (1)

@codingjlu and that is just the custom things i did to it iis 2 lines of code rest of them are my custom things k

codingjlu (480)

@HARSHITHSEYONB well you have a lot more html at other places...

HARSHITHSEYONB (1)

@codingjlu try it out put that code under a body tag u will be amazed

HARSHITHSEYONB (1)

@codingjlu kk no prob just trying to help

HARSHITHSEYONB (1)

and plz upvote and if u want make a team we cna code together

HARSHITHSEYONB (1)

kk add this code under a body tag

<div> <script async src="https://cse.google.com/cse.js?cx=2cad285cfd7dc1213"></script> <div class="gcse-search"></div> </div>
HARSHITHSEYONB (1)

@MEadphonesmead use this code under the body tag

<div> <script async src="https://cse.google.com/cse.js?cx=2cad285cfd7dc1213"></script> <div class="gcse-search"></div> </div>
HARSHITHSEYONB (1)

plz comment if theres any issues