HTML&CSS Learning Notes 3
2015-09-14 17:35
711 查看
HTML
Basic III
By using these two tags, we can create a table for sotre data with tabular.
Like
This pair of tags means table heading. Used for heading existing in table. Function similar to
This attribute is for making heading through [num] cells.
Making the border connect together.
The description of border, parameters with width, style, and color.
Controlling border displaying or hidding.
These two tags allows you to divide your page into containers (that is, different pieces). Also you can styling it.
Using
Between different attributes, like
Using span tags can pick the specific content which you want up and styling it.
Basic III
<table></table>
By using these two tags, we can create a table for sotre data with tabular.
<tr></tr>within
<table>tags
trmeans table rows, one pair of tr tags can create one row of table.
<td></td>within
<tr>tags
tdmeans tabular data, one pair of td tags can create one column of table.
<thead></thead>
Like
<html>document, it has head and body too.
<tbody></tbody>
<tbody>tags like
<body>tags in html document.
<th></th>within
<thead>tags
This pair of tags means table heading. Used for heading existing in table. Function similar to
<td>in table body area.
colspan="[num]"like style
This attribute is for making heading through [num] cells.
border-collapse:collapsewithin style
Making the border connect together.
border:[num]px [solid/dashed] [color]
The description of border, parameters with width, style, and color.
border-[top/right/bottom/left]:
Controlling border displaying or hidding.
<div></div>
These two tags allows you to divide your page into containers (that is, different pieces). Also you can styling it.
Using
;or not?
Between different attributes, like
style
align
colspan, etc, there is no
;, using space to separate each other. Within attributes, different parameters separate by using
;.
<span></span>
Using span tags can pick the specific content which you want up and styling it.
相关文章推荐
- IE6下margin双倍边距Bug的处理办法
- css3--text-overflow
- Java学习-029-JSON 之三 -- 模仿 cssSelector 封装读取 JSON 数据方法
- css3图片旋转
- css3--display:table-cell
- 使用css灰化图片
- CSS框模型中外边距(margin)折叠图文详解
- css3 box-sizing 属性
- 纯CSS实现鼠标滑过显示子菜单的二级菜单效果
- 纯CSS3制作皮卡丘动画壁纸
- CSS总结及兼容性问题【笔记】【持续更新】
- css中attribute selector及pseudo class
- js中获取样式的俩种方法 style.color和style['color'] 区别
- 用CSS截断字符串 转载自如花smile
- 十天学会<div+css>横向导航菜单和纵向导航菜单
- DIV+CSS实现仿DreamWeaver界面图形菜单效果代码
- CSS3阴影 box-shadow的使用和技巧总结
- js获取非行内样式
- css定义背景图片不显示原因
- 怎么用纯css改变select的样式