Form

テキスト ボタン チェックボタン ラジオボタンなど
  1. input タグ
    <form name="f" >
    <input type="text" name="a" value="aa" >
    <input type="button" name="b" value="Click" >
    </form >

    これでは文字が小さすぎなので input タグに付加すると
      style="font.size:26;color:'red';background:'lightblue'"
    文字サイズ・色・背景色が指定される。またフォームの長さを指定するには
         size=3
    を input タグに付加する。

  2. ボタンをクリックしてあるイベントを起すには, onclick="      " を input タグに付加する。
    ボタンbをクリックしてテキストaの文字を赤くする。
    <input type="button" name="b" value="Push" onclick="f.a.style.color='red'">
    ボタンbをクリックしてテキストaの文字を大きくする。
    <input type="button" name="b" value="Push" onclick="f.a.style.fontSize='26'">
    ボタンbをクリックして画像gを変更する。
    <input type="button" name="b" value="Push" onclick="g.src='*****'">
    ボタンbをクリックして画像gを左右反転する。
    <input type="button" name="b" value="Push" onclick="g.style.filter='fliph'">
    ボタンbをクリックしてあるWebSiteへいく。
    <input type="button" name="b" value="Push" onclick="location.href='http//........'">
  3.  onmouseover="    " onmouseout=" " の場合も同じ。
次は