四期学习小组

HTML阶段第四天

2017-04-22  本文已影响1人  用心为你

1、HTML高级标签

有序列表 ol>li
无序列表 ul>li
自定义列表 dl>dt+dd+dd

2、表格

table>tr>td+td+td
table>tr>th
<table border="1" width="200" height="200" cellspacing="0" cellpadding="0">
//border 表格的边框
//width height 表格的宽度 高度
//cellspacing 单元格之间的空白
//cellpadding 单元边界与单元内容之间的间距
<tr><tr> //一行
<th></th>
// th 表头 文字加粗居中
<caption>表格的标题 </caption>
<thead></thead>
<tbody></tbody>
<tfoot></tfoot>
</table>

3、表单元素

<input type="text" value="请输入你的文本框默认值" />
type取值:text password hidden radio checkbox submit button reset image

表单元素

<textarea cols="10" rows="10">
这里面是默认值
</textarea>

<select>
<option selected=“selected”> </option>
<option></option>
</select>

4、特殊字符

&nbsp;空格
< 小于
&gt 大于

5、页面的内容
html css js

上一篇 下一篇

猜你喜欢

热点阅读