<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>设置文字</title>
<style type="text/css">
.p1{
font-family: "Times New Roman",Arial;
font-style: italic;
font-weight: bold;
text-transform: capitalize;
font-size: 36px;
word-spacing: 50px;
}
.p2{
font-family: 微软雅黑,宋体,黑体;
text-decoration: underline;
text-decoration: line-through;
text-decoration: overline;
text-decoration: overline line-through;
word-spacing: 50px;
}
.p3{
text-indent: 2em;
word-spacing: 100px;
line-height: 1.5;
border:1px solid red;
}
</style>
</head>
<body>
<p class="p1">study hard and make progress very day</p>
<p class="p2">好好学习,天天向上</p>
<p class="p3">Java是一种可以撰写跨平台应用软件的面向对象的程序设计语言。Java 技术具有卓越的通用性、高效性、平台移植性和安全性,广泛应用于PC、数据中心、游戏控制台、科学超级计算机、移动电话和互联网,同时拥有全球最大的开发者专业社群。</p>
</body>
</html>
