How to add site search function to website using XHTML/HTML?

Posted by felixd68 on Stack Overflow See other posts from Stack Overflow or by felixd68
Published on 2010-06-10T16:18:42Z Indexed on 2010/06/10 16:22 UTC
Read the original article Hit count: 253

Filed under:
|
|
|
|

I really want to learn how to make my own search engine for my site. I have the defined buttons and labels, but it doesn't search. I can't figure out the HTML or XHTML code for actually searching the site.

This is the code I have so far:

<p class="search">
    <label>SEARCH</label>
    <input name="search" type="text" class="txt" />
    <input name="search-btn" type="submit" class="btn" value="SEARCH" />
</p>

Thanks!

© Stack Overflow or respective owner

Related posts about html

Related posts about web