HTML3

文本、字体css样式与前期英语单词汇总

一、文本样式(text)

  1.颜色:color:red;

  2.文本对齐方式:text-align:left/center/right/justify;

  left:左对齐
  center:居中对齐
  reght:右对齐
  justify:两端对齐

  3.文本修饰:text-decoration:none/overline/underline/line-through;

  none:空
  overline:上划线
  underline:下划线
  line-through:删除线

  4.文本缩进:text-indent:20px;

  indent:缩进

 

二、字体样式(font)

  1.字体大小:fot-size:20px;

  sizi:大小

  2.字体颜色:color:red;     注意不要写成font-color:red;

  3.字体形状:font-style:normal/italic/oblique/inherit; (这个了解一下就行一般用不到)

  

  4.字体字形:font-family:"微软雅黑/宋体/楷体";(默认微软雅黑)

  5.字体加粗:font-weight:bold;(后面也可跟数字)

  400是正常  比400大是加粗 比400小 是变细 不带px

 

前期英语单词汇总

html单词

doctype 文档
html 网页
head 头部
body 身体;主体
paragraph 段落
title 题目

 

CSS单词

color 颜色style 样式
background 背景
background-position 背景位置
background-size 背景大小
background-repeat 背景平铺
position 位置
relative 相对的
absolute 绝对的
font-style 字体样式
font-family 字体字形
font-weight 字体粗细
font 字体
width 宽
height 高
line-height行高
float 浮动
overflow 超出
text-align 文本对齐
vertical-align 垂直对齐
text-indent 文本缩进
text-decoration 文本修饰
border边框
border-color 边框颜色
border-style 边框样式
border-width 边框粗细
content 内容
margin 外边距
margin-top 上边距
margin-left 左边距
margin-right 右边距
margin-bottom 下边距
padding 内边距
padding-top 上内边距
padding-left 左内边距
padding-right 右内边距
padding-bottom 下内边距
outline 外线

 

CSS属性值单词

url 路径
normal 正常
left 左
right 右
center 居中
top 上
bottom 底部
hidden 隐藏
scroll 滚动条
solid 实线
dashed 虚线
bold 加粗
overline 上划线
underline 下划线
line-through 删除线
middle 居中
no-repeat 不平铺
none 空

 

拓展

src 路径
name 名字
rowspan 上下合并(跨行合并)
colspan 水平合并(跨列合并)
cellspacing 单元格间距
cellpadding 单元格内间距
ul 无序列表
ol 有序列表
li 一列
dl 自定义列表
list-style 列表样式
disc 实心圆
circle 空心圆
square 正方形

 

posted @ 2018-09-11 15:41  ”83  阅读(272)  评论(0编辑  收藏  举报