What is the HTML code for a search engine box inside an HTML document?
-
I would like to create an HTML document with a built in search box. This will not be an HTML doc online. It will only be viewed in the browser. What is the simple HTML coding to add ...show more
-
Answer:
the last answer is not right, it needs to be wrapped in <form> as otherwise the action will not work and <center> is depreciated and should not be used.. here is how it is suppose to be. </head> <body> <form name="form1" method="post" action=""> <label for="search"></label> <input type="text" name="search" id="search"> <input type="submit" name="Search" id="Search" value="Submit"> </form> </body> </html>
2JCBKHZP36MIGYYDTG6TNWSHNE at Yahoo! Answers Visit the source
Other answers
The following HTML code would create a search box wit the Search button. But to add the search functionality you need need to add some scripting as well. Html code to create the search form : <html> <head> <title> html Searh Box Example </title> </head> <body> <center> <input type="text" name="search_box" size="45"> <input type="submit" name="submit" value="Search"> </center> </body> </html> For the php code search for "php script for building a search engine" in any major search engine and it will bring some good result that you can visit and download the scripting code. The one I used to create a search engines: http://www.developer.com/db/article.php/3671021/Creating-a-Code-Search-Engine-with-PHP-and-MySQL.htm Hope it will help you as well.
Razibul Hassan
Related Q & A:
- What is the HTML code to make your web more accurate?Best solution by Yahoo! Answers
- How do I put an html code in a scroll box?Best solution by html.am
- What's the HTML code for a scroll box on top of a picture?Best solution by Yahoo! Answers
- What's the HTML code for?Best solution by Yahoo! Answers
- What is the code for a comcast cable box?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.