Call the search engine in the page to invoke Baidu as an example.


Today it suddenly occurred to me that calling a powerful search engine like Google and Baidu on your own page must be cool.

So I went online to look up the information, but I didn’t expect to do something with a few lines of code.

Here is a code segment calling Baidu:

Copy code

The code is as follows:

<! — call the Baidu engine in the page >
<!doctype html>
<html lang=”en”>
<meta charset=”UTF-8″>
< title > call Baidu engine < / Title >
<form action=”” target=”_blank”>
<div align=”center”>
<input name=tn type=hidden value=baidu>
<a href=””>
<img src=”” alt=”Baidu” align=”bottom” border=”0″></a>
<input type=text name=word size=30>
< input type = “submit” value = “Baidu search” >

What about? It’s simple enough, and I think how hard it is.