Sign in to follow this  
ballack

search option for html pages

Recommended Posts

hi everyone, i have to do a tutorial,which must have a search option. so if a user must have to find a particular tutorial he types the keywords and my prog should display all the related tutorial. how can i design such tutorial using html? can anyone help me.

Share this post


Link to post
Share on other sites
Quote:
Original post by ballack
ok i know scripting lang -asp
now how can i have a search option using this?

Well I don't do much web stuff, but what I would do is save the actual tutorial itself (the text) in a file, so that you can load it up using ASP and search it through that. Whenever you run into occurances of the keyword[s] in question, then print out the text around it using ASP. I've never used ASP, but I'm sure the idea would be the same as PHP.

Share this post


Link to post
Share on other sites
<meta> is used by large commercial search engines to help index pages and give important information about the contents of a page.

If you'd like, you could implement code in your search script to read these meta tags and process their information, however, there's no "special function" that "uses" meta tags... you have to write the code your self.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this