-
Notifications
You must be signed in to change notification settings - Fork 2
/
notibeboardtyping.html
88 lines (73 loc) · 2 KB
/
notibeboardtyping.html
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>게시글 작성</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 50vh;
}
h3 {
text-align: center;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
table, th, td {
border: 1px solid #ddd;
}
th, td {
padding: 12px;
text-align: left;
}
tr:hover {
background-color: #f5f5f5;
}
form {
margin-top: 20px;
width: 100%;
max-width: 600px; /* 폼의 최대 너비를 지정하세요 */
}
input[type="text"], textarea {
width: 100%;
padding: 8px;
margin: 5px 0 15px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #734CEB;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #734CEB;
}
</style>
</head>
<body>
<h3>게시글 작성</h3>
<form>
<label for="title">제목:</label>
<input type="text" id="title" name="title" required>
<label for="author">작성자:</label>
<input type="text" id="author" name="author" required>
<label for="content">내용:</label>
<textarea id="content" name="content" rows="4" required></textarea>
<input type="submit" value="글쓰기">
</form>
</body>
</html>