Notice
Recent Posts
Recent Comments
Link
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Tags
more
Archives
Today
Total
관리 메뉴

WON.dev

chapter34_form 본문

WEB.CSS

chapter34_form

GAWON 2023. 5. 19. 09:12
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
.d1 {
border-radius: 5px;
background-color: #CCCCFF;
margin: auto;

width: 450px;
height: 200px;
text-align: center;
}

```
.a1 {
  padding: 5px 0 0 0;

```

}

.i1 {
width: 93%;
margin: auto;
font-size: 15px;
}

.s1 {
width: 95%;
margin: auto;
font-size: 15px;
}

.sp1 {
float: left;
margin: 10px 0 0 10px;
font-size: 15px;
}

input[type="submit"] {
background-color: red;
color: white;
border-style: none;
width: 95%;
height: 20px;
border-radius: 3px;
font-size: 10px;
}
</style>
</head>
<body>
<div class="d1">
<form action="#">
<span class="sp1">이름</span>
<input class="i1" type="text" placeholder="이름">
<br>
<span class="sp1">나이</span>
<input class="i1" type="text" placeholder="나이">
<br>
<span class="sp1">주소</span>
<select class="s1">
<option>::주소선택::</option>
<option>서울</option>
<option>경기</option>
<option>인천</option>
</select>
<br>
<input type="submit" value="전송">
</form>
</div>
</body>
</html>

'WEB.CSS' 카테고리의 다른 글

chapter36 : form_tset2  (0) 2023.05.19
chapter35 : form_test1  (0) 2023.05.19
chapter33 : form  (0) 2023.05.19
chapter32 : form  (0) 2023.05.19
chapter31 : form  (0) 2023.05.19