반응형
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>chapter6</title>
<style>
#pic1 {
width : 200px;
height: 270px;
float : left;
}
#pic2 {
width : 160px;
height: 140px;
float : left;
}
img {
width : 200px;
height: 230px;
float : left;
border-radius: 50%;
}
#write1 {
height: 270px;
padding-left : 22px;
}
</style>
</head>
<body>
<div id = "pic1">
<img src = "1.jpg">
</div>
<div id = "write1">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy textg industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
<div id = "pic2">
<img src = "2.jpg" style = "width : 140px; height: 140px;">
</div>
<div id = "write2">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Lorem Ipsum is simply dummy textg industry. Lorem Ipsum has been the industr
</div>
</body>
</html>
6-13
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Chapter6.Question13</title>
<style>
#box {
width: 100px;
height: 100px;
background-color: grey;
margin : 0 auto;
font-size : 10px;
line-height: 100px;
}
#bigbox {
width : 200px;
height : 400px;
margin : 0 auto;
text-align : center;
}
#write {
margin-top : 10px;
}
</style>
</head>
<body>
<div id = "bigbox">
<h1> Card </h1>
<div id = "box">100x100</div>
<div id = "write">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since.
</div>
</div>
</body>
</html>
반응형
'HTML5' 카테고리의 다른 글
7-4 절대위치배치 7-5 요소의중앙배치 7-6 고정바배치 7-7 글자생략 (0) | 2020.11.02 |
---|---|
7-preview, 7-1, 7-2 (0) | 2020.11.02 |
html5 웹프로그래밍 입문 Chapter6. 연습문제 11번 (0) | 2020.11.02 |
html5 웹프로그래밍 입문 Chapter4. 연습문제 9번 (0) | 2020.10.29 |
html5 웹프로그래밍 입문 Chapter4. 연습문제 8번 (0) | 2020.10.28 |