📃 1) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/03_exam_table_box_1.css">
</head>
<body>
<h3>태풍 정보</h3>
<table>
<tr>
<th rowspan="2">일시</th>
<th colspan="2">중심위치</th>
<th rowspan="2">중심기압(hPa)</th>
<th colspan="2">최대풍속</th>
</tr>
<tr>
<td>위도</td>
<td>경도</td>
<td>초속(m/s)</td>
<td>시속(km/s)</td>
</tr>
</table>
</body>
</html>
- css
table, tr, th, td {
border: 1px solid black;
border-collapse: collapse;
padding: 8px;
}
📃 2) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./css/04_exam_2.css">
</head>
<body>
<h3 id="title1">딸기</h3>
<p>
딸기는 25℃ 이하의 <span id="weather">선선한 기후</span>
를 좋아하는 여러해살이 열매 채소로 5월에
열매를 수확합니다. 다른 작물에 비해 잘 기르기 위해서
많은 노력이
필요합니다.
</p>
<h3 id="title2">양평 딸기 축제</h3>
<ul>
<li>일 시 : 2018년 1월 15일~5월 15일</li>
<li>장 소 : <span id="location">양평군
내 딸기 마을</span></li>
<li>연락처 : 031-774-0000</li>
<li id="notice">일정은 바뀔 수 있으므로
방문 전 전화 요망</li>
</ul>
</body>
</html>
- css
#title1 {
color: purple;
}
#title2 {
color: green;
}
#weather {
color: red;
font-weight: bold;
}
#location {
font-weight: bold;
}
#notice {
color: blue;
font-weight: bold;
}
📃 3) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/05_exam_box_3.css">
</head>
<body>
<h3>도심 속 생태문화공원 서울대공원</h3>
</body>
</html>
- css
h3 {
border: 5px solid #e1285a;
padding: 10px;
width: 400px;
}
📃 4) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/06_exam_box_4.css">
</head>
<body>
<h3 id="title1">도심 속 생태문화공원 서울대공원</h3>
<h3 id="title2">도심 속 생태문화공원 서울대공원</h3>
<h3 id="title3">도심 속 생태문화공원 서울대공원</h3>
</body>
</html>
- css
#title1 {
border-top: 2px solid black;
padding: 5px;
width: 345px;
}
#title2 {
border-left: 2px solid #e1285a;
padding: 5px;
}
#title3 {
border: 2px solid skyblue;
border-radius: 3px;
padding: 5px;
width: 345px;
}
📃 5) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./css/07_exam_box_5.css">
</head>
<body>
<h3>웹이란?</h3>
<p>
- 웹(Web)은 거미줄을 뜻하는 말로 WWW(World Wide Web)의 약어입니다.<br />
- 인터넷과 웹 브라우저를 통해 사용자에게 정보를 제공하고 서로 소통하게
해줍니다.<br />
- 웹과 관련된 직업에는 웹 기획자, 웹 디자이너, 웹 퍼블리셔, 웹
프로그래머가 있습니다.<br />
</p>
</body>
</html>
- css
h3 {
border: 5px solid blue;
padding: 20px;
margin: 30px;
}
📃 6) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/08_exam_box_6.css">
</head>
<body>
<h3>동물원 속 온실식물원</h3>
<p>
온실식물원은 울창한 숲으로 둘러싸인 청계산 자락에 위치하고
있으며, 총 928종의 다양한 식물이 전시되고 있습니다.
</p>
</body>
</html>
- css
h3 {
border-left: 8px solid blue;
padding-left: 10px;
}
p {
border: 1px solid black;
width: 500px;
padding: 20px;
margin-top: 20px;
}
📃 7) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./css/09_exam_box_7.css">
</head>
<body>
<h3>주말 야간 개장 안내</h3>
<ul>
<li>- 기간 : 7.28~8.20 09:00~21:00 (입장마감 20시)</li>
<li>- 대상 : 동물원, 식물원</li>
<li>- 프로그램 : 야간동물원 관람, 동물생태 설명회, 식물전시</li>
</ul>
</body>
</html>
- css
h3 {
margin-top: 20px;
margin-left: 20px;
}
ul {
border: 1px solid black;
padding: 20px 30px 30px 30px;
width: 450px;
margin: 20px 0 0 20px;
}
li {
list-style-type: none;
border-bottom: 1px dotted gray;
padding: 10px 0 10px 0;
}
📃 8) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/10_exam_box_8.css">
</head>
<body>
<h3>이용요금</h3>
<p>행복카드 소지자는 본인 확인 후 입장료 30% 할인</p>
<ul>
<li>만 5세 이하, 만 65세 이상 무료</li>
<li>단체는 30인 이상 30% 할인</li>
<li>단체 관람 시 인솔 교사는 무료</li>
</ul>
</body>
</html>
- css
body {
border: 1px solid red;
}
h3 {
border: 1px solid blue;
}
p {
border: 1px solid green;
}
ul {
border: 1px solid red;
}
li {
border: 1px solid blue;
}
📃 9) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/11_exam_box_9.css">
</head>
<body>
<h3>이용요금</h3>
<p>행복카드 소지자는 본인 확인 후 입장료 30% 할인</p>
<ul>
<li>만 5세 이하, 만 65세 이상 무료</li>
<li>단체는 30인 이상 30% 할인</li>
<li>단체 관람 시 인솔 교사는 무료</li>
</ul>
</body>
</html>
- css
h3 {
border-left: 5px solid blue;
margin: 20px;
padding-left: 10px;
}
p {
margin-left: 30px;
margin-bottom: 10px;
}
ul {
border-top: 1px solid gray;
border-bottom: 1px solid gray;
margin-left: 45px;
padding-top: 5px;
padding-bottom: 8px;
}
li {
padding-top: 10px;
margin-left: 20px;
}
📃 10) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/12_exam_box_color.css">
</head>
<body>
<h3>캠핑장 9월 예약</h3>
<ul>
<li>9월분 예약 2019년 8월 16일(수) 14:00부터~</li>
<li>문의전화: 031-222-1234</li>
</ul>
<div id="button">
자세히 보기 >
</div>
</body>
</html>
- css
body {
background-color: yellow;
}
#button {
background-color: blue;
width: 120px;
height: 25px;
color: white;
padding: 8px;
text-align: center;
}
📃 11) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/13_exam_box_color_2.css">
</head>
<body>
<div id="banner">
<h3>산림욕장 안내</h3>
<p>470여 종의 식물과 다람쥐, 산토끼, 족제비,
너구리 및 35종의 새들이 살고 있는
최적의 자연학습장입니다.
</p>
<div id="button">
자세히보기 >
</div>
</div>
</body>
</html>
- css
* {
padding: 0;
margin: 0;
}
#banner {
background-color: #f6e9ed;
width: 320px;
height: 180px;
border: 1px solid #cccccc;
padding: 20px;
margin-top: 20px;
margin-left: 20px;
}
p {
margin-top: 20px;
}
#button {
background-color: #e1285a;
width: 100px;
border-radius: 5px;
color: white;
font-size: 12px;
padding: 5px;
text-align: center;
margin-top: 30px;
}
📃 12) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/15_exam_back_img.css">
</head>
<body>
<p>
가족과 즐거운 크리스마스를 보내세요~~~
</p>
<div>
카드 보내기
</div>
</body>
</html>
- css
body {
background-image: url("../img/bg2.jpg");
background-repeat: no-repeat;
}
p {
font-size: 20px;
margin-top: 160px;
margin-left: 130px;
width: 280px;
}
div {
width: 120px;
margin-left: 210px;
margin-top: 30px;
background-color: blue;
color: white;
text-align: center;
padding: 8px;
}
📃 13) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/16_exam_back_img2.css">
</head>
<body>
<div id="shop">
<img src="./img/shop_now.jpg" />
</div>
<div id="button">
<img src="./img/detail.png" />
</div>
</body>
</html>
- css
* {
padding: 0;
margin: 0;
}
body {
background-image: url("../img/sale_bg.png");
}
#shop {
margin-top: 50px;
margin-left: 30px;
}
#button {
margin-top: 30px;
margin-left: 190px;
}
📃 14) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./css/17_exam_schedule.css">
</head>
<body>
<h3>나의 일정</h3>
<div>◀ 2020년 7월 ▶</div>
<table>
<tr>
<td>일</td>
<td>월</td>
<td>화</td>
<td>수</td>
<td>목</td>
<td>금</td>
<td>토</td>
</tr>
<tr>
<td></td>
<td></td>
<td>1</td>
<td></td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
<tr>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
</tr>
<tr>
<td>13</td>
<td>14<br />기말고사</td>
<td>15<br />기말고사</td>
<td>16<br />기말고사</td>
<td>17<br />기말고사</td>
<td>18<br /></td>
<td>19</td>
</tr>
<tr>
<td>20</td>
<td>21<br />하계방학</td>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
</tr>
<tr>
<td>27</td>
<td>28</td>
<td>29<br />연수</td>
<td>30<br />연수</td>
<td>31</td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
- css
body {
color: #444444;
}
h3 {
border-left: 5px solid green;
padding-left: 10px;
}
div {
width:610px;
text-align: right;
}
table, td {
border: 1px solid #aaaaaa;
}
table {
border-collapse: collapse;
width: 610px;
font-size: 12px;
margin-top: 15px;
}
tr {
height: 60px;
}
td {
width: 76px;
padding: 5px;
}
📃 15) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./css/18_exam_train.css">
</head>
<body>
<h2>열차표 예매</h2>
<table>
<tr id="table_title">
<th>열차번호</th>
<th>출발</th>
<th>도착</th>
<th>출발시간</th>
<th>특실</th>
<th>일반실</th>
<th>소요시간</th>
</tr>
<tr>
<td id="col1" class="train">199</td>
<td id="col2">수원</td>
<td id="col3">대전</td>
<td id="col4">10:00</td>
<td id="col5"><img src="https://i.postimg.cc/mDcRkxKc/empty.png" /></td>
<td id="col6"><img src="https://i.postimg.cc/QdX35KRZ/full.png" /></td>
<td id="col7">01:44</td>
</tr>
<tr>
<td class="train">230</td>
<td>수원</td>
<td>대전</td>
<td>11:30</td>
<td><img src="https://i.postimg.cc/mDcRkxKc/empty.png" /></td>
<td><img src="https://i.postimg.cc/QdX35KRZ/full.png" /></td>
<td>01:38</td>
</tr>
</table>
</body>
</html>
- css
table {
border-collapse: collapse;
width: 610px;
}
table, td, th {
border: 1px solid #cccccc;
}
tr {
text-align: center;
}
td, th {
padding: 5px;
}
#table_title {
height: 30px;
background-color: #eeeeee;
}
.train {
background-color: #fbdbf2;
color: #f1477b;
text-decoration: underline;
font-weight: bold;
}
#col1, #col4 {
width: 90px;
}
#col2, #col3 {
width: 60px;
}
#col5, #col6 {
width: 80px;
}
📃 16) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/23_exam_google_font.css">
</head>
<body>
<h1>홍길동의 블로그</h1>
<p>안녕하세요 홍길동입니다.
홍길동의 블로그 홈페이지에 오신 것을 환영합니다.
</p>
</body>
</html>
- css
@import url("https://fonts.googleapis.com/css2?family=Moirai+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Diphylleia&display=swap");
h1 {
text-align: center;
font-family: "Moirai One", cursive;
}
p {
text-align: center;
font-family: "Diphylleia", serif;
}