ヘッダ部分 なしボディ部分 <FORM> <INPUT TYPE="button" NAME="type1" VALUE="alert dialog" onClick="alert('これはAlertダイアログ')"> <INPUT TYPE="button" NAME="type2" VALUE="confirm dialog" onClick="confirm('これはConfirmダイアログ')"> <INPUT TYPE="button" NAME="type3" VALUE="prompt dialog" onClick="prompt('これはPromptダイアログ','ここに文字も書いておける')"> </FORM>