<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!--CSS文本设置:-->
<!--color:设置文字的颜色,如:color:red;-->
<!--font-size:设置文字的大小,如:font-size:12px;-->
<!--font-family:设置文字的字样,如font-family:"微软雅黑";-->
<!--font-style:设置文字是否倾斜,如font-style:'normal';设置不倾斜。font-style:'italic';设置文字倾斜;-->
<!--font-weight:设置文字的加粗,如:font-weight:bold;设置加粗。font-weight:normal;设置不加粗-->
<!--line-height:设置文字的行高,如:line-height:24px;-->
<!--text-decoration:设置文字的上中下划线,如text-decoration:none;将文字划线去掉-->
<!--text-indent:设置文字首行缩进,如:text-indent:24px;设置文字首行缩进24px-->
<!--text-align:设置文字水平对齐方式,如text-align:center;设置文字水平居中-->
<style type="text/css">
.text{
font-family: "微软雅黑";
font-size: 16px;
color: #369;
font-style: italic;
font-weight: bold;
line-height: 20px;
line-break: normal;
/*....*/
}
</style>
</head>
<body>
<div class="text">
CSS文本设置:
color:设置文字的颜色,如:color:red;
font-size:设置文字的大小,如:font-size:12px;
font-family:设置文字的字样,如font-family:"楷体";
font-style:设置文字是否倾斜,如font-style:'normal';设置不倾斜。font-style:'italic';设置文字倾斜;
font-weight:设置文字的加粗,如:font-weight:bold;设置加粗。font-weight:normal;设置不加粗
line-height:设置文字的行高,如:line-height:24px;
text-decoration:设置文字的上中下划线,如text-decoration:none;将文字划线去掉
text-indent:设置文字首行缩进,如:text-indent:24px;设置文字首行缩进24px
text-align:设置文字水平对齐方式,如text-align:center;设置文字水平居中
</div>
</body>
</html>

最新文章

  1. Linux简单指令操作
  2. initWithCoder与initWithFrame的区别
  3. vuejsLearn--- v-for列表渲染
  4. Asp.net WebPages框架运行原理浅析(转)
  5. js写当鼠标悬浮及移开出现背景变化
  6. OnClientClick和OnClick同时使用!
  7. maven实战_01_搭建maven开发环境
  8. BI案例:KPI在商业智能中的应用(ZT)
  9. QT 的信号与槽
  10. 论文阅读(2014-2)----The YouTube Video Recommendation System
  11. C# Sending data using GET or POST ZZ
  12. JNDI实现服务器(tomcat)与数据库(mysql)连接的数据源配置以及获取连接的java代码
  13. Java基础总结--多线程总结1
  14. Abnormal Detection(异常检测)和 Supervised Learning(有监督训练)在异常检测上的应用初探
  15. memcache 杂记
  16. 解决 Vim 的 quickfix 插件错误信息乱码问题
  17. salt-api配置安装 以及使用
  18. IDEA从SVN中导入多模块项目
  19. 有源汇有上下界最小流 DInic + 各种优化 模板
  20. bzoj 3924 点分

热门文章

  1. jdbc的URL配置
  2. 二、搜索class文件
  3. RobotFramework+Appium 升级Appium v1.10.0后,执行click element时报错:InvalidSelectorException: Message: Locator Strategy &#39;css selector&#39; is not supported for this session,解决办法
  4. 第四阶段:2.从零打造一款工具APP产品
  5. 解析GMT+N时区,返回日期类型
  6. IteratorPattern(迭代器模式)-----Java/.Net
  7. 在Mac/linux上查找(并终止)进程锁定特定端口的几种方法
  8. java高并发梳理
  9. Java中数组的使用
  10. POJ 1269 Intersecting Lines(判断两直线位置关系)