忍者ブログ

気づきの記録

日常の中の小さな気づき。忘却の中に浮かぶかすかな記憶…。

NEW ENTRY

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

  • 03/29/10:19

google検索 のソース


下記がgoogleのサイト検索のソースになります。

サイドバーに設置しているおかげで、ソースがごちゃごちゃ見苦しいので

重要な部分のみ抜粋して記載しますね。










<!-- SiteSearch Google -->

<table><tr><td>

<form method=GET action="http://www.google.co.jp/search">

<input type=text name=q size=22 maxlength=255 value="">

<input type=hidden name=hl value="ja">

<input type=hidden name=ie value=Shift_JIS></td></tr>

<tr><td>

<input type=submit name=btnG value="Search!">

<font size=-1>

<input type=hidden name=domains value="http://yaplog.jp"><br>

<input type=radio name=sitesearch value=""> googleで検索 <br>

<input type=radio name=sitesearch value="http://yaplog.jp" checked>

yaplog!内を検索 </font>

<tr><td>

<a href="http://www.google.co.jp/" target="_blank">

<img src="http://yaplog.jphttp://koharun.izakamakura.com/kakoimg/Logo_25wht.gif"
alt="google" width="75" height="32" border="0">

</a></td></tr>

</form>

</td></tr></table>

<!-- SiteSearch Google -->



<form>タグ内の色々な属性、パラメータなどはHTMLの解説サイト様で

調べてみて下さいね。



<参考サイト>

とほほのWWW入門

ばけらの HTML リファレンス




--2004.08.14 追記

上記のソース内の<table>タグが少々おかしいみたいです。

とじ忘れがあったり、余分なタグがあったり。

直したものを追記に載せておきます。

参考になさった方、申し訳ありませんでした。










<!-- SiteSearch Google -->

<table><tr><td>

<form method=GET action="http://www.google.co.jp/search">

<input type=text name=q size=22 maxlength=255 value="">

<input type=hidden name=hl value="ja">

<input type=hidden name=ie value=Shift_JIS></td></tr>

<tr><td>

<input type=submit name=btnG value="Search!">

<font size=-1>

<input type=hidden name=domains value="http://yaplog.jp"><br>

<input type=radio name=sitesearch value=""> googleで検索 <br>

<input type=radio name=sitesearch value="http://yaplog.jp" checked>

yaplog!内を検索 </font></td></tr>

<tr><td>

<a href="http://www.google.co.jp/" target="_blank">

<img src="http://yaplog.jphttp://koharun.izakamakura.com/kakoimg/Logo_25wht.gif"
alt="google" width="75" height="32" border="0">

</a></td></tr>

</form>

</td></tr></table>

<!-- SiteSearch Google -->
PR
URL
FONT COLOR
COMMENT
Vodafone絵文字 i-mode絵文字 Ezweb絵文字
PASS

TRACK BACK

トラックバックURLはこちら