あなたの情報名前:
住所:
電話:
クイズの答え問1:
問2:
問3:
コメント欄

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META http-equiv="Content-Style-Type" content="text/css">
<title>お礼を表示(ボタン)</title>
<style type="text/css">
<!--
fieldset{ color :red;
background-color:snow;
border :1 double orangered;}
input,
select{ color :red;
background-color:aqua;
border :3 double orangered;}
textarea{ color :red;
background-color:aqua;
border :3 double orangered;
scrollbar-3dlight-color:blue;
scrollbar-arrow-color:red;
scrollbar-base-color:green;
scrollbar-darkshadow-color:black;
scrollbar-face-color:pink;
scrollbar-highlight-color:yellow;
scrollbar-shadow-color:red}}
body{ scrollbar-3dlight-color:blue;
scrollbar-arrow-color:red;
scrollbar-base-color:green;
scrollbar-darkshadow-color:black;
scrollbar-face-color:pink;
scrollbar-highlight-color:yellow;
scrollbar-shadow-color:red}
-->
</style>
</head>
<body bgcolor="#99FFCC">
<form>
<fieldset><legend>あなたの情報</legend>名前:
<input type="text" name="name" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'" value="田中一郎">
<br>
住所:
<input type="text" name="add" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'" value="兵庫県伊丹市xx-xx-xxx">
<br>
電話:
<input type="text" name="tel" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'" value="0727-00-0000">
</fieldset>
<fieldset><legend>クイズの答え</legend>問1:
<input type="text" name="1" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'" value="マイケル">
<br>
問2:
<input type="text" name="2" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'" value="ハーグリーブス">
<br>
問3:
<input type="text" name="3" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'" value="アレッサンドロ">
</fieldset>
<fieldset><legend>コメント欄</legend>
<textarea name="textfield" cols="50" rows="5" onFocus="this.style.backgroundColor='gold'" onBlur="this.style.backgroundColor='aqua'">ご自由にお書きください</textarea>
<br>
<input type="submit" name="submit" onMouseOver="this.style.backgroundColor='yellow'" onMouseOut="this.style.backgroundColor='aqua'" onClick="this.value='送信ありがとうございます'" value="送信">
<input type="reset" name="submit2" onMouseOver="this.style.backgroundColor='yellow'" onMouseOut="this.style.backgroundColor='aqua'" value="書き直し">
</fieldset>
</form>
</body>
</html>