<!-- 12_layout/12-7_Quiz_layout.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>12-7_Quiz_layout</title>
<!--
# Quiz_layout.png 파일의 내용을 구현하세요
-->
<style type="text/css">
* {
margin: 0;
padding: 0;
}
body {
font-family: "돋움", sans-serif;
margin: 0 auto;
color: black;
background-color: yellow;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
header {
position: fixed;
width: 100%;
height: 50px;
padding: 25px;
z-index: 1000;
background-color: #e3afed;
}
header h1 {
font-size: 30px;
font-weight: bold;
text-align: center;
}
nav {
position: fixed;
top: 100px;
bottom: 0;
width: 200px;
background-color: #fed900;
}
nav h1 {
padding: 10px 0 10px 10px;
}
nav ul {
width: 200px;
}
nav ul > li > a {
display: block;
padding: 0 0 0 40px;
}
nav figure {
padding: 20px 0 0 40px;
}
section {
float: right;
width: 82%;
background-color: yellow;
margin-top: 100px;
}
article {
margin: 10px;
padding-left: 12px;
padding-top: 10px;
background-color: yellow;
}
article > p {
margin-top: 10px;
}
footer {
border: 1px solid brown;
position: absolute;
width: 100%;
height: 62px;
background-color: #954b4b;
text-align: center;
margin-top: 470px;
color: white;
padding-top: 40px;
}
</style>
</head>
<body>
<header>
<h1>My Blog Page</h1>
</header>
<nav>
<h1>Links</h1>
<ul>
<li><a href="#">W3C</a></li>
<li><a href="#">MOZILLA</a></li>
<li><a href="#">HTML Dogs</a></li>
</ul>
<figure>
<img src="<http://via.placeholder.com/85x85>"/>
<figcaption>image</figcaption>
</figure>
</nav>
<section>
<article>
<h1>Semantic Tags</h1>
<p>시멘틱 요소(Semantic elements)들은 브라우저에게 요소의 의미나 목적을 명확하게 알려주는 요소이다</p>
</article>
<article>
<h1>Semantic Tags</h1>
<p>시멘틱 요소(Semantic elements)들은 브라우저에게 요소의 의미나 목적을 명확하게 알려주는 요소이다</p>
</article>
</section>
<footer>
Copyright © 2023 Test
</footer>
</body>
</html>