HTML, CSS

table 생성, fieldset, legend, label

유호야 2020. 10. 28. 23:01
반응형

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
</head>
<body>
    <fieldset>
        <legend> 입력양식 </legend>
            <table>
                <tr><td><label for = "name">이름</label></td> <td> <input id = "name" type = "text"> </td></tr>
                <tr><td><label for = "email">이메일</label></td> <td> <input id = "email" type = "email"> </td></tr>
                <tr> <td><input type = "submit"></td></tr>
               

                
            </table>
        
    </fieldset>
</body>
</html>
반응형