HTML5

html5 웹프로그래밍 입문 Chapter6. 연습문제 11번

유호야 2020. 11. 2. 10:02
반응형

<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>simple input form</title>
    <style>
        body {
            background-color : rgb(165, 158, 158);
        }
        .box1 {
            text-align : center;
            width : 80px;
            height: 10px;
            float : left;
            margin-top : 4px;
        }
        input {
            border-radius: 30px;
            background-color : white;
            border : 1px;
            margin-top : 5px;
            width : 170px;
            height : 20px;
        }
    </style>
</head>
<body>
    <h1>간단한 입력 양식</h1>
    <div class = "box1">아이디</div> <input type = "text"> <br>
    <div class = "box1">비밀번호</div> <input type = "text"> <br>
    <div class = "box1"></div> <input type = "submit" style = "width : 175px; height : 22px;">
</body>
</html>
반응형