Yahoo!
-
Search Home
-
Help
How to add Yahoo! Search to your site
Style 1 - Basic Web Search
To add this Yahoo! Search box to your site:
Simply cut and paste the following HTML into your web site's HTML:
<!-- Yahoo! Search --> <form method=get action="http://uk.search.yahoo.com/search" style="border:1px solid #999; padding:5px;/*/*/width:360px;/**/text-align:center;"> <a href="http://uk.search.yahoo.com"> <img src="http://a.l.yimg.com/i/i/uk/se/m/uksb.gif" align="absmiddle" border=0></a> <input type="text" name="p" size=25> <input type="hidden" name="fr" value="yscpb"> <input type="submit" value="Search"> </form> <!-- End Yahoo! Search -->
Style 2 - Web Search and Site Search
To add this Yahoo! Search box to your site:
Search the Web
Search this site
Simply cut and paste the following HTML into your web site's HTML:
Replace the text "YOUR SITE DOMAIN" with your own site domain (e.g., "http://uk.news.search.yahoo.com").
<!-- Yahoo! Search --> <form method=get action="http://uk.search.yahoo.com/search" style="border:1px solid #999; padding:5px;/*/*/width:390px;/**/text-align:center;"> <a href="http://uk.search.yahoo.com"> <img src="http://a.l.yimg.com/i/i/uk/se/m/uksb.gif" align="left" border=0></a> <input type="text" name="p" size=29> <input type="hidden" name="fr" value="yscpb"> <input type="submit" value="Search"><br><font size="-2" face="arial, helvetica"><input type="radio" name="vs" value="" id="ysvs0" style="vertical-align: middle" checked><label for=ysvs0>Search the Web</label> <input type="radio" name="vs" id="ysvs1" style="vertical-align: middle" value="YOUR SITE DOMAIN"><label for=ysvs1 style="margin-right: 75px;">Search this site</label></font> </form> <!-- End Yahoo! Search -->
Style 3 - Web Search (narrow)
To add this Yahoo! Search box to your site:
Simply cut and paste the following HTML into your web site's HTML:
<!-- Yahoo! Search --> <form method=get action="http://uk.search.yahoo.com/search" style="border:1px solid #999; padding:5px;/*/*/width:160px;/**/"> <center> <a href="http://uk.search.yahoo.com"> <img src="http://a.l.yimg.com/i/i/uk/se/m/uksb.gif" border=0></a><br> <input type="text" name="p" size=19 style="margin-top: 10px"><br> <input type="hidden" name="fr" value="yscpb"> <input type="submit" value="Search" style="margin-top: 10px"> </center> </form> <!-- End Yahoo! Search -->
Style 4 - Web Search and Site Search (narrow)
To add this Yahoo! Search box to your site:
Search the Web
Search this site
Simply cut and paste the following HTML into your web site's HTML:
Replace the text "YOUR SITE DOMAIN" with your own site domain (e.g., "http://uk.news.search.yahoo.com").
<!-- Yahoo! Search --> <form method=get action="http://uk.search.yahoo.com/search" style="border:1px solid #999;padding:5px;/*/*/width:160px;/**/"><center> <a href="http://uk.search.yahoo.com"> <img src="http://a.l.yimg.com/i/i/uk/se/m/uksb.gif" border=0></a><br> <input type="text" name="p" size=19 style="margin-top: 10px"><br><font size="-2" face="arial, helvetica"><input type="radio" name="vs" value="" id="ysvs20" style="vertical-align: middle" checked><label for=ysvs20>Search the Web</label><br><input type="radio" name="vs" id="ysvs21" style="vertical-align: middle" value="YOUR SITE DOMAIN"><label for=ysvs21>Search this site</label></font><br> <input type="hidden" name="fr" value="yscpb"> <input type="submit" value="Search" style="margin-top: 5px"></center> </form> <!-- End Yahoo! Search -->
Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy
-
Terms of Service