- 博客(4)
- 资源 (10)
- 收藏
- 关注
原创 HTML5:表格
表格的作用是显示二维数据,在HTML5中不再允许用表格控制页面内容的布局,而是采用新增的CSS表格特性(这里不涉及CSS,将在后面介绍)。下面主要介绍用于制作表格的HTML元素。构建表格表格的基本元素包括:table、tr和td。table表示HTML文档中的表格,支持border属性,用于定义表格边框的宽度;tr表示表格中的行;td表示表格中的单元格,包括如下属性: 1)colspan:规定单元
2016-01-28 15:12:20 8528 8
原创 HTML5:标记文字
文本层面的元素(简称文本元素),把这些元素加入文本当中,也就引入了结构和含义。HTML5规范明确指出:使用元素应该完全从元素的语义出发。但这类元素中有些元素的含义非常明确,有些则比较含糊。在元素的使用上最好做到“将呈现工作交给CSS打理”,但这并不是绝对的,有时候只要保持HTML文档中的一致性就好。生成超链接a元素用于生成超链接,a元素有6个局部属性: 1)href:指定a元素所指资源的URL;
2016-01-27 14:26:36 3646 3
原创 HTML5:组织内容
默认情况下,HTML文档的格式与文档内容在浏览器窗口中显示的格式是不相关的,例如:浏览器会将连在一起的几个空白字符折算为一个空格,并且会忽略换行符。HTML提供了组织内容的方式,将显示的内容分段,预先编排内容的格式等。建立段落HTML会忽略你在文本中输入的回车符和其他额外的空格,网页中的新的段落使用p元素标识,一个段落包含一个或多个相关句子,通常围绕的是一个观点或论点,或者多个论点间有一些共同的主
2016-01-21 16:57:50 2204
原创 HTML5:组织文档结构
文档部分,即body部分,包含了访问者可以看到的内容。传统的HTML文档通常通过div元素来组织文档结构,再配上适当的样式表。但div元素的问题是缺少语义信息,在查看别人的源代码时,必须费点劲才能理解哪个div表示什么,整个页面时怎么搭建起来的,通常需要在HTML页面、样式表和浏览器之间跳来跳去。特别是如果HTML页面的组织结构不好,很容易就会导致困惑。对此,HTML5中新增了许多语义元素,用来替
2016-01-10 11:28:27 6172 1
hadoop-part3
2015-08-04
hadoop-part2
2015-08-04
hadoop-part1
2015-08-04
linux教学课件:Advanced Programming in the Linux Environment
2009-11-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人