210608 UIUX WebDesign CSS 연습_23

ITisIT210·2021년 6월 13일
0

CSS

목록 보기
23/93
post-thumbnail
<!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>목포항구축제</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: "맑은 고딕";
            font-size: 16px;
            line-height: 1.5;
            color: #000;
            background-color: #188657;
        }
        table {
            border-collapse: collapse;
        }
        #wrap {
            margin: 30px auto;
            width: 1200px;
        }
        .contents {
            padding: 40px;
            width: 500px;
            height: 500px;
            float: left;
            background-color: #fff;
        }
        .contents h1 {
            padding-bottom: 30px;
            font-size: 18px;
            color: #188657;
        }
        .contents h2 {
            padding-bottom: 15px;
            font-size: 15px;
            color: #999999;
        }
        .contents h3 {
            font-size: 38px;
        }
        .contents p {
            margin: 30px 0px;
        }
        .imgBox {
            width: 700px;
            float: right;
        }
    </style>
</head>
<body>
    <div id="wrap">
        <div class="contents">
            <h1>목포에서 놀다가련다!</h1>
            <h2>10월의 어느 멋진 항해</h2>
            <h3>목포항구축제</h3>
            <p>
                목포는 1897년 개항하여 교역, 물류 교통의 중심지로서 과거 전국 3대항,
                6대도시의 영광을 누렸으며 현재는 서남해안의 배후 중심도시로서 근대역사가 살아 숨쉬고
                전국 각지의 해양문화가 집약되어 있는 곳이다. <br> 목포항구축제는 이러한 해양문화역사를 바탕으로 
                잊혀져 가는 우리 고유의 해양문화를 보존함은 물론 축제를 통해 모두가 함께 즐기고 흥의 정취를
                나누고자 한다. <br> 풍성하고 다채로운 프로그램이 펼쳐지는 목포항구죽체를 찾아 더할 나위 없는 즐거움과 
                함께 잊지 못할 추억을 만들어 보자.
            </p>
        </div>

        <div class="imgBox">
            <img src="./images/harbor.jpg" alt="목포항구축제 이미지">
        </div>
    </div>
</body>
</html>
profile
Engineering is the closest thing to magic that exists in the world.

0개의 댓글