前端 | 2 - HTML | 表單 |

<form action="http://www.baidu.com">
    <fieldset>
        <legend>helloword</legend>
        <p>賬號<input type="text"></p>
        <p>密碼<input type="password"></p>
        <p>性別
            <input type="radio" name="gender" checked="checked"><input type="radio" name="gender"></p>
        <p>愛好
            <input type="checkbox">讀書
            <input type="checkbox">看報紙
        </p>
        <p>簡介
            <br>
            <textarea cols="20" rows="3"></textarea>
        </p>
        <p>郵箱
            <input type="email">
        </p>
        <p>手機
            <input type="number">
        </p>
        <p>生日
            <input type="date">
        </p>
        <p>
            <input type="submit" value="註冊">
            <input type="reset" value="清空">
        </p>
    </fieldset>
</form>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章