<!doctype html>
<html>
<head>
<title>文字設定</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
body{
background:url("Image/flat.png") no-repeat right top;
}
h1,p {
color: black;
}
h1{
background-color: rgba(75,223,148,0.5);
text-shadow: 3px 5px white; // 文字陰影
letter-spacing: 5px; // 字母間的間距
word-spacing: 30px; // 單字間的間距
}
p{
max-width: 200px;
background-color: Tomato;
text-align: justify; //文字平均分布行,值 center, right, left, justify
line-height: 30px; //行與行之間間隔
}
.myborder1{
/*border:5px solid black; */
margin-bottom: 60px;
max-width: 200px;
}
a{
text-decoration: none; // 值除超連結下底線
}
.decoration{
text-decoration: overline; // 加上文字上線
text-decoration: line-through; //加上文字中線
text-decoration: underline; //加上文字下線
}
</style>
</head>
<body>
<div>
<h1>Example Domain</h1>
<p>This domain is established to be used for illustrative examples in documents. You may use this
domain in examples without prior coordination or asking for permission.</p>
<br>
<section class="myborder1 decoration">This is a text1</section>
<li><a href="#">Page1</a></li>
</div>
</body>
</html>