📃 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/04_exam_1.css">
</head>
<body>
<h1>제목 글자</h1>
<p>안녕하세요</p>
<p>또만났군요</p>
</body>
</html>
- 04_exam_1.css
h1 {
color: red;
}
p {
color:blue;
}
📃 2) 퀴즈
결과 화면 :

코딩 :
- 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_css_1.css">
</head>
<body>
<h3>웹 기획 과정</h3>
<ul>
<li>- 사용자 층 분석과 사이트 목적</li>
<li>- 콘텐츠 설계</li>
<li>- 스토리보드 제작</li>
</ul>
</body>
</html>
- css
h3 {
color: blue;
font-family:'맑은 고딕';
}
li {
list-style-type: none;
}
📃 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/07_exam_css_2.css">
</head>
<body>
<h3>거제도</h3>
<p>
경상남도 거제시에 있는 섬으로 우리나라에서
<span>제주도 다음으로</span>입니다. <span>62개의 섬으로 구성</span> 되어
있는데 <span>면적은 380.1</span>이고 275km입니다.
</p>
</body>
</html>
- css
h3 {
color: black;
}
p {
color: green;
font-family:'Times New Roman', Times, serif;
font-size: 18px;
}
span {
color:blue;
font-weight: bold;
text-decoration: underline;
}
📃 4) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="./css/08_exam_css_3.css">
</head>
<body>
<h2>루바토 펜션 안내</h2>
<ul>
<li><span>주소</span> : 경기도 양평군 지평면 일신리</li>
<li><span>전화번호</span> : 1588 - 0000</li>
<li><span>객실 수</span> : 100개</li>
<li><span>부대시설</span> : 한식당, 눈썰매장, 탁구장, 수영장</li>
</ul>
<p>
※ 다양한 객실이 준비되어 있어요. 예약을 원하시는 분은 전화주세요.
애완동물도 동반 가능합니다. 감사합니다.^^
</p>
</body>
</html>
- css
h2 {
color: black;
font-size: 25px;
}
li {
list-style-image: url("../img/arrow.gif");
}
span {
font-weight: bold;
}
p {
color:green;
text-decoration: underline;
}
📃 5) 퀴즈
결과 화면 :

코딩 :
- 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/09_exam_css_4.css">
</head>
<body>
<ul>
<li><span class="bold">일시</span> : 2019년 6월15일~8월15일</li>
<li><span class="bold">장소</span> :
<span class="location">양평 리니 하우스</span></li>
</ul>
</body>
</html>
- css
.bold {
font-weight: bold;
}
.location {
color: green;
text-decoration: underline;
}
📃 6) 퀴즈
결과 화면 :

코딩 :
- html
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>클래스 선택자</title>
<link rel="stylesheet" href="./css/10_exam_css_5.css">
</head>
<body>
<h3>열대어란?</h3>
<p>원산지는 주로 <span class="font1">동남아시아</span>,
중앙아메리카, 남아메리카,
<span class="font1">아프리카</span>이며 대부분 소형의
아름다운 물고기입니다.</p>
<h3>열대어의 종류</h3>
<p>열대어는 <span class="font2">민물에 사는 열대어</span>
와
<span class="font2">바닷물에 사는 열대어</span>
로 나눌 수 있습니다.
</p>
</body>
</html>
- css
.font1 {
color: red;
text-decoration: underline;
font-weight: bold;
}
.font2 {
color: blue;
font-weight: bold;
}
📃 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/11_exam_css_6.css">
</head>
<body>
<h3>잠자리란?</h3>
<p>
<span id="fly">잠자리</span>는 잠자리목에 속하는 곤충으로 전 세계적으로 분포하는 포식성 곤충이며
여러 가지 해충을 잡아먹는 유익한 곤충입니다.
</p>
<p>
앞머리에 커다란 <span class="blue">한 쌍의 겹눈</span>을
가지고 있습니다. 또한 날카로운 턱을 가지고
있으며 이빨이 튼튼합니다. 파리, 모기, 나비 등의 살아있는
곤충을 잡아먹고
삽니다.
</p>
</body>
</html>
- css
p {
font-size: 14px;
line-height: 180%;
}
#fly {
color: red;
font-weight: bold;
}
.blue {
color:blue;
}
📃 8) 퀴즈
결과 화면 :

코딩 :
- 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/12_exam_css_7.css">
</head>
<body>
<h3>- 배낭여행이란?</h3>
힌트 : li - list-style-type: square 적용, 글자크기 16px p - 자간 150%,
글자크기 14px body - 돋음 폰트 h3 - 맑은고딕 폰트
<p>
여권, 항공권 등 여행 시 필요한 것만을 준비하고 현지에서 숙박, 식사 등을
해결하는 자유여행을 말합니다.
</p>
<h3>- 배낭여행의 종류</h3>
<p>
배낭여행에는 모든 일정을 자신이 정하는 자유 배낭, 여러 명이 같이 출발 전
숙소와 교통편 등을 미리 예약하고 여행하는 단체 배낭, 자유 배낭과 단체
배낭의 중간 형태인 패키지 배낭여행 등이 있습니다.
</p>
<h3>- 배낭여행 준비</h3>
<ul>
<li><span>여권 준비</span> : 여권이 없으면 신청하고 여권 유효기간을 반드시 체크.</li>
<li><span>비행기 예약</span> : 항공사의 예매 사이트나 예약 대행 사이트 이용.</li>
<li><span>여행 스케줄</span> : 스케줄은 가능한 세부적으로 잘 짜야 함.</li>
<li><span>짐싸기</span> : 꼭 필요한 물품만으로 최대한 간단하게 짐 준비.</li>
</ul>
</body>
</html>
- css
body {
font-family: '돋음';
}
h3 {
font-family: '맑은고딕';
color: blue;
}
p {
line-height: 150%;
font-size: 14px;
}
li {
list-style-type: square;
font-size: 16px;
}
span {
font-weight: bold;
}
📃 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/20_exam_css_8.css">
</head>
<body>
<h1 class="heading">HTML</h1>
</body>
</html>
- css
h1 {
font-size: 60px;
}
.heading {
width: 100%;
height: 100px;
background-color: #222;
color: rgb(255,255,255);
text-align: center;
}