1. 文本样式 text

<!--文本颜色color    -->
.text {color:red;}

2. 文本对齐方式    text-align

<style>
.text {
text-align:left;/*向左对齐*/
}
.text {
text-align:center;/*居中*/
}
.text {
text-align:right;/*向右对齐*/
}
.text {
text-align:justify;/*两端对齐*/
}
</style>

3. 文本修饰   text-decoration

.decoration {
text-decoration:none;/*默认样式*/
}
.decoration {
text-decoration:overline;/*上划线*/
}
.decoration {
text-decoration:underline;/*下划线*/
}
.decoration {
text-decoration:line-through;/*删除线*/
}

4. 字体 font

.text {
font-family:"微软雅黑";/*字形 微软雅黑*/
font-size:10px;/*字体大小 10像素*/
font-style:italic;/*字体样式 斜体 */
/*字体样式还有
normal 正常的
oblique 倾斜体
*/
}

最新文章

  1. Android Ormlite 学习笔记2 -- 主外键关系
  2. Python导入模块出现“no module named **”可能是这样的原因
  3. jieba
  4. HDU5461 Largest Point(暴力)
  5. redis3.0 集群实战1 -- 安装和配置
  6. MIT 2012分布式课程基础源码解析-线程池实现
  7. call-template和apply-templates
  8. DSP TMS320C6000基础学习(1)——介绍
  9. Android反编译-逆天的反编译
  10. Android - 数据存储 -存储文件
  11. HTML,JS禁止鼠标右键、禁止全选、复制、粘贴的方法
  12. 高效程序猿之 VS2010快速生成代码模板
  13. 花了一年时间完成的 在线G代码编辑,加工系统 G-Code Editor V1.0
  14. Find The Multiple (poj1426 一个好的做法)
  15. 邮件服务器 postfix
  16. 简单的复用accep
  17. [Linux] Linux Shell查找文件
  18. POJ 2318 TOYS (叉乘判断)
  19. 初识MYSQL2
  20. tomcat配置问题:访问http://localhost:8080/ 遇到 Access Error: 404

热门文章

  1. Spring AOP 实现数据库读写分离
  2. php八大设计模式之桥接模式
  3. [洛谷P3929]SAC E#1 - 一道神题 Sequence1
  4. yii2-Ueditor百度编辑器
  5. Unity 性能优化(力荐)
  6. Project Euler:Problem 58 Spiral primes
  7. Ubuntu常见报错及解决方式汇总
  8. iBatis框架使用 4步曲
  9. QThread 爬坑之旅(三种办法解决QObject: Cannot create children for a parent that is in a different thread)
  10. doT.js灵活运用之嵌入使用