Search engines
On your search.html page
using forms
To add a search engine requites a
form but first go online to the search engine: http://imdb.com
and perform a search.For example search for “Marilyn Monroe” and you will notice that the URL contains:
http://imdb.com/find?s=all&q=Marilyn+Monroe
The ‘q’ is very important as this
will be the name of your ‘text field’ which is the place where you type in what
you want to search for.
Everything before the ‘?’ is the
‘action’ or basically what the website will do for you.· Center the cursor on the page.
· Choose Insert – FORM – Form
· In the properties menu paste everything before the ‘?’ into the Action field.
· Set the method to ‘get’
· Now choose Insert – FORM – Textfield (hit OK)
· The field under ‘Textfield’ should be ‘q’.
· Set Char width to ‘20’
· Set Max Chars to ‘50’
· Choose Insert-FORM-Button (hit OK)
· Set the value to ‘IMDB’
do all six you have chosen ... some may be tricky ( it's not always 'q')
No comments:
Post a Comment