ޡȥեѤɽǸ

Խ

θեäƤߤ

ͭץǥإåäȤ䡢ϤƤʥ꡼θ褯狼ʤԸʤɤˡƸեʸܥåˤɽƤͤäޤ

Υإåˤ׸ե򡢥ڡ¾ν˺äƤߤޤ礦searchform⥸塼פǺ뤱ɡ٤꤬ǤΤǥǽ񤤤Ƥߤޤإåեå

<form method="POST" action="searchdiary">
	<input size="20" value="⸡" type="text" name="word">
	<input value="" type="submit" name=".submit">
</form>

Τ褦˽񤯤

Τ褦ʸեबǤơʬ򸡺Ǥޤ

  • ξΥݥ
    • action="searchdiary"פȤΤȼʬ򸡺ɤΥեΥǤǽ餫ĤƤ븡եΥڤƤƤ櫓Ǥ
    • size="20"פο򤤤Ѥޤ
    • value="⸡"פθդѤޤϳ˽񤤤Ƥ̵Ǥ⡣
  • ڴϢɡƳեλȤ
  • ڴϢɡ۳֥ɥС˲ - ǽ񤤤Τ

ɲ̤θեäƤߤ

Ʊ褦ˡڡΥإåեå

<form method="POST" action="/search">
	<input type="text" name="word" value="" size="20">
	<input type="submit" name="keyword" value=""> 
	<input type="submit" name=".submit" value="">
</form>

Τ褦˽񤯤

ɸΥեबɽ졢ϤƤʥ꡼ΥɸȤϤƤʸΥեबǤޤ

  • ݥ
    • action="http://d.hatena.ne.jp/search"פȤΤϡɲ̤Υإåˤ֥ɡ׸ΥƱǤ
    • action="xxx"פȤʬǡϤƤʤΥСˡ֤ưפȤꤤƤ櫓Ǥʤξϥɸˡaction°ǻꤷƤӽФפȤޤ

Фƥ꡼Υץ˥塼äƤߤ

ƥ꡼̾򤼤ɽˡץ˥塼٤褦ˤˡǤsectioncategory⥸塼ǺΤñǡФƥ꡼¸бƤơǥƥ꡼䤷ƤȼưŪ˥˥塼ɲäƤޤ˥塼νϾ̤ܺΡΥƥ꡼٤˵ƤǤ

Ȥ櫓ǤΥ⥸塼ʤΤǤǽˡ⤴Ҳ𤷤ƤޤָФƥ꡼¸פˤбʤΤΡ¤ñˤǤꡢ˥塼ˡؤΥƥ꡼٤Τ褦ʽͤɽǤΤˤäƤϻȤΤǡ

ڡΥإåեåˡ

<form method="POST" action="searchdiary">
	 <select name="word">
		 <option>Υƥ꡼</option>
			 <option value="*[]"></option>
			 <option value="*[]"></option>
			 <option value="*[web]">web</option>
			 <option value="*[ϤƤ]">ϤƤ</option>
	 </select> <input value="Go" type="submit">
</form>

Τ褦˽񤯤ȡ

ץ˥塼ǤơGoפ򲡤ȤΥƥ꡼εɤळȤǤޤ

  • ݥ
    • Υƥ꡼̾򡢤ʤǻȤäƤ륫ƥ꡼̾ˣꤺĽؤƤУϣˤǤ֤Υƥ꡼פʬ⡢ʸդ˽񤭴ޤ
    • ƥ꡼ǽ⡢եƱaction="searchdiary"ˤʤΤǡѤƤޤեǡ*[]٤򸡺*[]٤򸡺ΤƱǤ

GooglegooAmazonʤɤθե

id:limboΤȤǾܽҤƤꡢɥС⤢äΤǤ˥󥯤Ѥĺޤ

Ǥϳơθե䡢<fieldset>、<legend>ȤȤƤޤ

<form method="GET" name="search" action="http://dictionary.goo.ne.jp/search.php" target="goo">
	<fieldset>
		<legend>goo</legend>
		<input type="text" name="MT" value="" size="10">
		<input type="submit" value="Go!"><br>
		<input id="ej" type="radio" name="kind" value="ej" checked><label for="ej"></label> 
		<input id="je" type="radio" name="kind" value="je"><label for="je">±</label>
		<input id="jn" type="radio" name="kind" value="jn"><label for="jn"></label>
		<input type="hidden" name="FROM" value="USER"><br>
		<a href="http://www.goo.ne.jp/">goo.ne.jp</a>
	</fieldset>
</form>

Τ褦˽񤯤ȡ

goo

goo.ne.jp

ȤʤꡢեĤ䤹ʤޤǻꤹȤfieldsetפlegendפʬθɤѤʤɤޤ

­formˤĤ

եȤΤϥ֥饦夫᡼륽եȤΩ夲ꡢ󥱡ȤꡢȤäưԤԤ褦ˤΤǤưϡץХϤƤʥ꡼Τ褦ʡWebСɤ֤Ƥ롢CGIץפȤΤ̤ƹԤƤޤʤΤǥưꤷƤߤƤ⡢ư׵ᤷСưCGI󶡤ƤʤѤǤޤ

ϤƤʥ꡼ǤϥեȤ̤ʤȻפޤ⤦ܤΤꤿϲͥ󥯤ʤɤ


ŽäƤߤ뢫 | ǻȤ1˿ʤ