星空网 > 软件开发 > 网页设计

了解HTML CSS格式化排版 文字排版

这里简单的写一些涉及到字体排版中常用到的属性, 大家可以学习查看, 也可以mark下以后看.

font-family: "Micrsoft Yahei"; 设置字体

font-size: 20px; 设置字号

color: red; 设置颜色

font-weight: bold; 文字加粗

font-style: italic; 文字斜体

text-decoration: underline; 文字下划线

text-decoration: line-through; 文字删除线

text-indent: 2em; 段落缩进

text-align; center; 段落排版居中(左右分别是, left, right)

line-height: 2em; 行间距

letter-spacing: 20px; 字间距(中文)

word-spacing: 50px; 单词间距





原标题:了解HTML CSS格式化排版 文字排版

关键词:HTML

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

MucheCo:https://www.goluckyvip.com/tag/23158.html
MUJI passport:https://www.goluckyvip.com/tag/23159.html
视觉营销:https://www.goluckyvip.com/tag/2316.html
Mulberry:https://www.goluckyvip.com/tag/23160.html
Müller Deutschland:https://www.goluckyvip.com/tag/23161.html
MuLogin多登防关联浏览器:https://www.goluckyvip.com/tag/23162.html
咸阳机场到临潼景点 西安咸阳机场到临潼有多远:https://www.vstour.cn/a/411236.html
合肥有什么约会的地方好玩的地方 合肥哪里适合情侣好玩的地方:https://www.vstour.cn/a/411237.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流