This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="get" action="#" id="form1"> | |
<fieldset> | |
<legend>アンケート</legend> | |
<div> | |
<div>好きな食べ物を選択して下さい</div> | |
<input type="checkbox" value="1" name="food">和食 <input | |
type="checkbox" value="2" name="food">中華 <input | |
type="checkbox" value="3" name="food">イタリアン <input | |
type="checkbox" value="4" name="food">フレンチ <span | |
class="errorMsg"></span> | |
</div> | |
<br> | |
<div> | |
<div>タバコを吸っていますか?</div> | |
<div> | |
<input type="radio" value="yes" name="conf_tobacco">はい <input | |
type="radio" value="no" name="conf_tobacco">いいえ <span | |
class="errorMsg"></span> | |
</div> | |
<br> | |
<div>1日の喫煙本数</div> | |
<div> | |
<input type="text" name="count">本 <span class="errorMsg"></span> | |
</div> | |
</div> | |
</fieldset> | |
<p> | |
<fieldset> | |
<legend>ユーザ情報登録</legend> | |
<div> | |
<div>URL(任意)</div> | |
<input type="text" name="url"> <span class="errorMsg"></span> | |
</div> | |
<p> | |
<div> | |
<div>ユーザID ("hifive"以外を入力すると「入力されたユーザ名は既に使用されています」がエラーメッセージに表示されます)</div> | |
<input type="text" name="userid"> <span class="errorMsg"></span> | |
</div> | |
<div> | |
<div>パスワードを入力(8~12文字)</div> | |
<input type="password" name="pass"> <span class="errorMsg"></span> | |
</div> | |
<div> | |
<div>パスワードを再入力</div> | |
<input type="password" name="conf_pass"> <span | |
class="errorMsg"></span> | |
</div> | |
<br> | |
</fieldset> | |
<br /> | |
<input type="submit" value="送信" /> | |
</p> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment