html基础(表格)
- 表头 : caption
- 合并行单元格 : colspan
- 合并列单元格 : rowspan
- 取消边框缝隙 : cellspacing=”0”
- 表格中内容位置 : valign = top | middle | bottom
html基础 (文本和input)
* 多行文本框*
属性:cols(字符长度) rows(输入的字符的行数)
- input type=”file” // 上传文件
- input type=”submit” // 文件提交
- input type=”reset” // 重置
- input type= “url” //网址
- input type= “date” //日期
- input type= “time” //时间
- input type= “email” //邮件
- input type= “range” //滑块
fieldset 对表单信息分组
legend 分组名称
CSS : 层叠样式表
复合选择器
- 交集选择器 : 标签 + 类 ( ID ) 特点(即使用了这个标签还调用了类选择器)
- 后代选择器 : 选择器 + 空格 + 选择器 { 属性 : 值 }
- 子代选择器 : 选择器 > 选择器 { 属性 : 值 }
- 并集选择器 : 选择器,选择器,选择器{ 属性 : 值 }
文本元素
//首行缩进两个字符
text-indent : 2em
//文字粗细
Font-weight : 700 (一般从700开始加粗)
//文本的字体
Font-family :微软雅黑
//normal默认值 italic斜体
Font-style:normal | italic
//行高
line-height : 40px