![]() |
|
|
|
Click here for a list of Dr. Website's most frequently asked questions (and answers!). Dr. Website® Archives 2001August 23, 2001
Dear Dr. Website: Love your e-mail. I am a new subscriber and I wanted to get a list of sites that you like to help me set up meta-tags on the following site: http://www.musicfromtheheart.com Thank You,
Answer: META Tagging for Search Engines http://www.wdvl.com/Location/Meta/Tag.html Designing Page Content for Search Engines http://www.wdvl.com/Location/Promotion/Search/Body.html Strategies for Indexing and Search Engines http://www.webreference.com/dlab/books/html-pre/43-0.html and even a META tag article I wrote some time back for WebDeveloper.com:
Back to Basics: META Tags
http://www.webdeveloper.com/html/html_metatags.html
Question:
Answer: <FORM METHOD=POST ACTION="mailto:youremail@home.com" ENCTYPE="text/plain"> <INPUT TYPE="TEXT" VALUE=""> <INPUT TYPE=SUBMIT> </FORM>
Thanks,
Question:
Answer: So what we do is this: depending on the radio button the user selects, we simply change the form's action--that is, we just direct the form to a different routine on the server end. <SCRIPT LANGUAGE="JavaScript"> <!-- function formaction(form){ if (form.stype[0].checked == true) document.sform.action = "/search/result.asp"; else document.sform.action = "/directory/result.asp"; document.sform.submit(); } file://--> </SCRIPT> <CENTER> <FORM METHOD=POST NAME=sform ACTION="/search/result.asp" onSubmit='formaction(this); return false;'> <TABLE CELLPADDING=3 CELLSPACING=0 BORDER=0 ALIGN=RIGHT><TR VALIGN=TOP> <TD VALIGN=MIDDLE ALIGN=LEFT> <INPUT NAME="search" TYPE="TEXT" SIZE="10"><BR> <INPUT TYPE=SUBMIT VALUE=" SEARCH "> </TD> <TD VALIGN=MIDDLE> <INPUT TYPE="RADIO" NAME="stype" VALUE="news" CHECKED> site news<BR> <INPUT TYPE="RADIO" NAME="stype" VALUE="directory"> website directory <INPUT NAME="max" TYPE="hidden" value="10"> </TD> </TR> </TABLE> </FORM> </CENTER>
Understand that this does require that the variables are the same for each routine (i.e. there must be a field named "search" that is used in both routines). -- Dr. Website
Visit The Dr. Website® Archives. Click here for a list of Dr. Website's most frequently asked questions (and answers!). Send your own question to Dr. Website®.
|
|
|||||||||||||||||||||||||||||||||||||||