HTML 文本及分组和表格与文档元素
2016-09-21 22:40
906 查看
文本元素
![](https://static.oschina.net/uploads/space/2016/0921/223646_xtqN_2898088.png)
![](https://static.oschina.net/uploads/space/2016/0921/223717_xJTP_2898088.png)
分组元素
![](https://static.oschina.net/uploads/space/2016/0921/223739_AiGS_2898088.png)
![](https://static.oschina.net/uploads/space/2016/0921/223853_cFVj_2898088.png)
dl dt dd 说明列表
figure组
表格元素
![](https://static.oschina.net/uploads/space/2016/0921/224245_nwog_2898088.png)
一个完整的表格
利用colgroup能更灵活的控制列 每一个col操纵1列 span表示前N列应用效果
文档元素
![](https://static.oschina.net/uploads/space/2016/0921/225605_Etnw_2898088.png)
组合标题
独立成篇的文章
![](https://static.oschina.net/uploads/space/2016/0921/223646_xtqN_2898088.png)
![](https://static.oschina.net/uploads/space/2016/0921/223717_xJTP_2898088.png)
分组元素
![](https://static.oschina.net/uploads/space/2016/0921/223739_AiGS_2898088.png)
![](https://static.oschina.net/uploads/space/2016/0921/223853_cFVj_2898088.png)
dl dt dd 说明列表
<dl> <dt>Passage A</dt> <dd>1 HTML5</dd> <dd>2 CSS3</dd> </dl>
figure组
<figure> <figcaption>This is a picture</figcaption> <img src="img.png"> </figure>
表格元素
![](https://static.oschina.net/uploads/space/2016/0921/224245_nwog_2898088.png)
一个完整的表格
<table border="1"> <caption>Caption</caption> <thead> <th>Name</th> <th>Age</th> </thead> <tbody> <tr> <td>Ming</td> <td>20</td> </tr> <tr> <td>Hong</td> <td>18</td> </tr> </tbody> <tfoot> <tr> <td colspan="2">Student: 2</td> </tr> </tfoot> <colgroup> <col> <col style="background:red;" span="1"> </colgroup> </table>
利用colgroup能更灵活的控制列 每一个col操纵1列 span表示前N列应用效果
文档元素
![](https://static.oschina.net/uploads/space/2016/0921/225605_Etnw_2898088.png)
组合标题
<hgroup> <h1>HeadLine</h1> <h4>second</h4> </hgroup>
独立成篇的文章
<article> <header> <nav>NAV</nav> </header> <section>PASSAGE</section> <footer>COPYLEFT</footer> </article>
相关文章推荐
- 使用javascript解析xxx.xml文档将数据加载到xxx.html文档中的表格元素中
- 遍历整个html文档 并打印出该html文档中的所有文本节点 属性节点 元素节点
- DOM操作HTML文档;js创建表格;清除空文本节点
- 夜灵的Html笔记Day02——文本、分区元素、图像、链接、表格
- html 动态显示元素文本
- 黄聪:使用Python中的HTMLParser、cookielib抓取和解析网页、从HTML文档中提取链接、图像、文本、Cookies(二)
- HTML的文本及表格标签示例
- HtmlTestCode:循环遍历当前文档中的元素,将子元素的Name及个数输出到一个空白文档中
- 如何使HTML中的元素TABLE的表格文字不换行
- 千呼万唤 HTML 5 (4) - 文本语义元素
- jquery之设置元素内容(替换HTML或文本内容,使用html()和text()方法)
- C#word(2007)操作类--新建文档、添加页眉页脚、设置格式、添加文本和超链接、添加图片、表格处理、文档格式转化
- HTML 5中的重要元素:文本元素(time元素、mark元素、cite元素)
- 剔除HTML文档的HTML标记,转换为纯文本
- Wvtool学习(一):把html文档解码成纯文本文档
- 千呼万唤 HTML 5 (3) - 内容分组元素
- 循环中删除map元素的写法; 在C++环境下,实现一行一行地读入文本文档
- asp.net程序控件显示不正常,HTML编辑器无法显示,表格等页面元素也有异常现象
- html基础知识点系列1--表格及其相关元素
- HTML 5中的重要元素:文本元素(time元素、mark元素、cite元素)