-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex4-11.html
More file actions
41 lines (41 loc) · 1005 Bytes
/
ex4-11.html
File metadata and controls
41 lines (41 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>텍스트 꾸미기</title>
<style>
h3 {
text-align : right; /* 오른쪽 정렬 */
}
span {
text-decoration : line-through; /* 중간 줄 */
}
strong {
text-decoration : overline; /* 윗줄 */
}
.p1 {
text-indent : 3em; /* 3 글자 들여쓰기 */
text-align : justify; /* 양쪽 정렬 */
}
.p2 {
text-indent : 1em; /* 1 글자 들여쓰기 */
text-align : center; /* 중앙 정렬 */
}
</style>
</head>
<body>
<h3>텍스트 꾸미기</h3>
<hr>
<p class="p1">HTML의 태그만으로 기준의
워드 프로세서와 같이 들여쓰기, 정렬, 공백,
간격 등과 세밀한 <span>텍스트 제어</span>를
할 수 없다. </p>
<p class="p2">그러나,
<strong>스타일 시트</strong>는 이를
가능하게 한다. 들여쓰기, 정렬에 대해서
알아본다.</p>
<p><a href="http://www.naver.com"
style="text-decoration : none">
밑줄이 없는 네이버 링크</p>
</body>
</html>