<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
#div1{
width:100px;
height:100px;
color:red;
/*文本颜色*/
text-align:left;
/*文本对齐方式*/
text-indent:32px;
/*首行缩进 新的单位em表示几个字的大小*/
text-decoration:underline;
/*下划线*/
letter-spacing:10px;
/*字母间距*/
word-spacing:10px;
/*根据空格分词*/
}
</style>
</head>
<body>
<div id="div1">
aa a <br />
bbbb
</div>
</body>
</html>
文本处理
最新推荐文章于 2022-05-05 17:54:16 发布