HTML_Pr_04.html 2.2 KB
<!DOCTYPE html>
<html lang="ko">
    <head>
        <meta charset="utf-8">
    </head>
    <body>
        <form action="#" method="POST">
        <table border="1">
            <tbody>
                <tr>
                    <th>아이디</th>
                    <td colspan="3">
                        <input type="text", name="id">
                        <input type="button", name="id_bt", value="중복조회">
                    </td>
                </tr>
                <tr>
                    <th>비밀번호</th>
                    <td>
                        <input type="password", name="pw">
                    </td>
                    <th>확인</th>
                    <td>
                        <input type="password", name="pw_cf">
                    </td>
                </tr>
                <tr>
                    <th>이름</th>
                    <td colspan="3">
                        <input type="text", name="name", size="10">
                    </td>
                </tr>
                <tr>
                    <th>이메일</th>
                    <td colspan="3">
                        <input type="text", name="mail", size="10">
                    </td>
                </tr>
                <tr>
                    <th>성별</th>
                    <td colspan="3">
                        <input type="radio", name="male", value="male">
                        <input type="radio", name="female", value="female">
                    </td>
                </tr>
                <tr>
                    <th>지역</th>
                    <td colspan="3">
                        <select name ="address">
                            <option value="seoul">서울</option>
                            <option value="pusan">부산</option>
                            <option value="etc">기타</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <input type="checkbox", name="agree"> 약관에 동의합니다.
                    </td>
                </tr>
        </table>
        <input type="submit", value="회원가입">
        </form>
    </body>
</html>