- 1、本文档共6页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
HTML5的结构和语1
HTML5的结构和语义——语义性的块级元素(三)2012-01-10 15:53:06/kf/201201/116557.html我来说两句?javascript:;收藏?/tg.html我要投稿 [字体:javascript:fontZoomA();小?javascript:fontZoomB();大]aside figure dialog? 我在文章和书中一直使用前两个元素。第三个元素我不经常用,它主要用于书面文本。?aside? aside 元素代表说明、提示、边栏、引用、附加注释等,也就是叙述主线之外的内容。例如,在developerWorks 文章中,经常会看到用表格形式编写的边栏,见代码3 用HTML 4 编写的developerWorks 边栏。?以下是代码片段:[ ]table align=right border=0 cellpadding=0 cellspacing=0 width=40%tbodytrtd width=10img alt= src=///i/c.gif height=1 width=10/tdtdtable border=1 cellpadding=5 cellspacing=0 width=100%tbodytrtd bgcolor=#eeeeeepa name=xf-valuespan class=smalltitle.xf-value/span/a/ppThe code type=inline.xf-value/code selector used here styles the inputfield value but not its label. This is actually inconsistentwith the current CSS3 draft. The example really should use thecode type=inline::value/code pseudo-class instead like so:/ptable border=0 cellpadding=0 cellspacing=0 width=100%tbodytrtd class=code-outlinepre class=displaycodeinput::value { width: 20em; }#ccnumber::value { width: 18em }#zip::value { width: 12em }#state::value { width: 3em }/pre/td/tr/tbody/tablebr?pHowever, Firefox doesnt yet support this syntax./p/td/tr/table? 在HTML 5 中,可以按照更有意义的方式编写这个边栏,见代码4 用HTML 5 编写的developerWorks 边栏。?以下是代码片段:[ ]asideh3.xf-value/h3pThe code type=inline.xf-value/code selector used here styles the inputfield value but not its label. This is actually inconsistentwith the current CSS3 draft. The example really should use thecode type=inline::value/code pseudo-class instead like so:/p?pre class=displaycodeinput::value { width: 20em; }#ccnumber::value { width: 18em }#zip::value { width: 12em }#state::value { width: 3em }/pre?pHowever, Firefox doesnt yet support this syntax./p/aside? /os/liulanqi/浏览器可以决定把这个边栏放在哪里(可能需要用一点儿CSS 代码)。?figure? figure 元素代表一个块级图像,还可以包含说明。例如,在许多developerWorks 文章中,可以看到代码5 用HTML 4 编写的developerWorks 图 这样的标记其结果见图1。?以下是代码片段:[ ]a name=fig2bFigure 2. Install Mozilla XForms dialog/b/abr /img alt=A Web site is requesting permission to install t
您可能关注的文档
- 商业项目前期策划方案.pptx
- 商业项目调查表--海的尽头.doc
- 商业银行资产负债业务的管理.ppt
- 商务年会欢迎酒会方案.ppt
- 商务日语专业毕业论文.doc
- 商务英语写作与翻译期末试卷及答题卷_C.doc
- 商务礼仪培训课件0621.ppt
- 商务谈判中的跨文化因素.doc
- 商务谈判收购谈判方案.doc
- 商务谈判的准备及具体过程.doc
- 分析let s单元56ago2卷纸zheng unit56.pdf
- 塑胶材料其它分类原料pa9t 12.pdf
- md16x16数字媒体切换器设备.pdf
- 者参考项目发起人学科类型单位序列承包商修订页代码顺序典型.pdf
- 届世界天然气大会阿姆斯特丹2006add10288.pdf
- 期测试记录表每周weekly g1g6 journeys tests level 6 lesson26.pdf
- modernize-whitepaper现代化您应用程序白皮书.pdf
- anybackup产品典型案例分析.pdf
- 约克金融工程课程tfeslide32.pdf
- 广州市妇女儿童医疗中心历份教学药历01tjy.pdf
文档评论(0)