词汇

Body的属性:

bgcolor       页面背景色

text          文字颜色

Topmargin     上页边距

Leftmargin     左页边距

Rightmargin    右页边距

Bottomargin   下页边距

Background    背景壁纸

Font color      控制字体

Size           字体大小

Face           字体

Center         居中

Shift+enter      回车

   ctrl+shift+space        表示空格

Div            层标签(默认占一行)

Span           层标签(默认用多大空间占多大)

ol type         有序列表

ul type         无序列表

Table          表格

Width          宽度

Border         边框 (常用0.)

Cellpadding     内容跟单元格边框的边距。常用0.

Cellspacing       单元格之间的间距。常用值0.

Align           对齐方式

Bgcolor         背景色

Background      背景图片

<tr></tr>

Align            一行内容的水平对齐方式

Valign           一行内容的垂直对齐方式

Height          行高

Colspan         合并同一行单元格

Rowspan        合并同一列单元格

<form>

Input type text       文本框

Password           密码框

Textarea   cols字符多少   rows几行高

Input type =“submit”   disabled=disabled  提交按钮  value

Reset                                  重置按钮

Button                                 普通按钮

Image                                 图片按钮

Redio        checked=checked设置默认选项       单选按钮组

Checkbox                               复选框组

File                                   文件上传

<Select name=“”  size=“”  > <option value=”值”>内容</option>

</select>                              下拉列表框

Text- decoration  underline         下划线   overline  上划线

Position             位置

Fixed               锁定

Absolute            绝对定位      relative相对定位

z-index           分层

Float             流式布局    left   right

Overflow

Cursor

Opacity         moz-opacity          filter:alpha

原文地址:https://www.cnblogs.com/dianfu123/p/5319391.html