Search Code
Below is the simple HTML to invoke google.com with a sitesearch parameter to search all of Penn State. You may use all or part of this to provide search results for Penn State from your site, or you may elect to simply link to search.psu.edu, which will offer this invocation:
<html>
<body>
<form method="GET" action="http://www.google.com/search">
<input type="text" name="q" size="40" maxlength="2048" value="">
<input type="submit" name="btnG" value="Search">
<input type="hidden" name="sitesearch" value="psu.edu">
</form>
</body>
</html>
If you wish to submit your own code snippets, feel free to leave a comment here or submit it to search@psu.edu.
<html>
<body>
<form method="GET" action="http://www.google.com/search">
<input type="text" name="q" size="40" maxlength="2048" value="">
<input type="submit" name="btnG" value="Search">
<input type="hidden" name="sitesearch" value="psu.edu">
</form>
</body>
</html>
If you wish to submit your own code snippets, feel free to leave a comment here or submit it to search@psu.edu.
No TrackBacks
TrackBack URL: https://blogs.psu.edu/mt4/mt-tb.cgi/168741
Leave a comment