史上最全HTML/CSS 常用单词整理

HTML/CSS 常用单词整理

页面布局(layout)
header 头部/页眉;

index 首页/索引;

logo 标志;

nav/sub_nav 导航/子导航;

banner 横幅广告;

main/content 主体/内容;

container/con 容器;

wrapper/wrap 包裹(类似于container);

menu 菜单;

sub_menu/second_menu 子菜单/二级菜单;

list 列表;

section 分区/分块(类似于div);

article 文章;

aside 侧边栏/广告;

footer 页脚/底部;

title/sub_title 标题/副标题;

news 新闻;

hot 热点;

pro 产品(product);

company 公司;

msg/info 信息(message)/消息;

ads 广告(advertisements);

icon 小图标;

img 图片(image);

copyright 版权;

contact_us 联系我们;

friend_link 友情链接;

tel 联系电话(telephone);

address 地址;
空格(不要忘记分号);

(文字末尾添加)换行

CSS样式(style)
CSS 层叠样式表 (Cascading Style Sheets) ;

background 背景;
background: -webkit-gradient(top red orange yellow green lightblue blue purple) 颜色渐变;
position 位置/定位;

relative/absolute/fixed 相对定位/绝对定位/固定定位;

float 浮动;

clear 清除;

vertical-align: middle/top/bottom; 垂直居中/上/下;

line-height 行高;

margin 外边距;

padding 内边距;

border 边框;

solid/dashed/dotted 实线/线虚线/点虚线;

border-radius 圆角;

shadow 阴影;

display 展示;

hidden 隐藏;

block/inline-block 块元素/行内块;

overflow 溢出;

cursor 光标;

cursor:pointer; 鼠标移上变为小手;
animation 动画;

css sprites 雪碧图/图片精灵;

column 分列;

flex 弹性(布局);

表单(form)与表格(table)
form 表单;

action 行为;

method 方式/方法;

input 输入框;

label 标签;

password 密码;

radio 单选框;

checkbox 复选框;

btn 按钮(button);

submit/reset 提交/重置;

textarea 文本域;

select/option 选择框/选择项;

placeholder 占位符(起提示作用);

search 搜索;

icon 小图标;

autofocus 自动聚焦;

disabled 禁用;

checked 选中(单选框/复选框);

selected 默认选择项(下拉选择框);

required 必填项;

readonly 只读;

table 表格;

thead/tbody/tfoot 表格标题/主体/底部;

colspan 跨列;

rowspan 跨行;

cellspacing 单元格间距(类似于margin);

cellpadding 单元格边距(类似于padding);

border-collapse: collapse; 边框合并(用于table上);

width 宽度
height 高度
border 边框
clear 清除
margin 外边距
padding 内边距
position 定位
overflow 溢出
float 漂浮
image 图片
color 颜色
font-size 字体大小
font-family 字体
font-style 字体样式
font-weight 字体粗细
background 背景
background-color 背景颜色
background-image 背景图片
background-repeat 背景重复
text-align 文本对齐
text-indent 文本缩进
text-shadow 文本阴影
a:active 单击鼠标左键
italic (倾斜)
word-spacing 单词和单词之间的距离
underline 下划线
Background-attachment 背景附件
attachment 附件,附属物
Border-top-style 上边框的线型
Border-top-color 上边框的颜色
normal 正常
letter-spacing 字母和字母之间的距离
Line-through (删除线)
scroll 滚动
List-style-type 列表样式
solid 实线 实心的
border-collapse:collapse; 合并表格的边框
static 静态 静止的
Import 输入; 进口
Class 类
overline (上划线)
line-height 行高
Background-repeat 背景图片是否平铺
Repeat 重复; 复述
List 列表
dashed 虚线
collapse 折叠
display 显示
fixed 固定 不变的
Link 链接
A:Visited 访问过的
Font-weight 文字加粗方式
none (无)
Background-position 背景图片的定位
position 位置,方位;
inline 内联
absolute 绝对的
A:hover 鼠标移上链接上
repeat-x 横向平铺
Text-decoration 文本修饰线
bold 加粗
repeat-y 纵向平铺
no-repeat 不平铺
Border-top-width 上边框的宽度
dotted 点状线
block 块
relative 相对

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值