0

What kind of code do I need to have user be allowed to seach my website for information? Also, is this information based on the information in the <meta> tags, or is it defined by some other measures? Any information would be greatly appreciated. Thanks!

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by zortec
0

This code will put a search box to alternate between Google and your website:

<form method="get" action="http://www.google.com/search">

<input type="text"   name="q" size="31"
 maxlength="255" value="" />
<input type="submit" value="Google Search" />
<input type="radio"  name="sitesearch" value="" />
 The Web
<input type="radio"  name="sitesearch"
 value="website.com" checked /> Search<br />
</form>
0

This code will put a search box to alternate between Google and your website:

<form method="get" action="http://www.google.com/search">

<input type="text"   name="q" size="31"
 maxlength="255" value="" />
<input type="submit" value="Google Search" />
<input type="radio"  name="sitesearch" value="" />
 The Web
<input type="radio"  name="sitesearch"
 value="website.com" checked /> Search<br />
</form>

I'm a little confused, and I'm sorry I'm new to this, but what goes in the HTML portion, and what would go in the external CSS?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.