<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://zhidian.wuute.com/html5dev/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://zhidian.wuute.com/html5dev/feed.php">
        <title>HTML5知典</title>
        <description></description>
        <link>http://zhidian.wuute.com/html5dev/</link>
        <image rdf:resource="http://zhidian.wuute.com/html5dev/lib/tpl/bootstrap3_1/images/favicon.ico" />
       <dc:date>2026-04-16T02:34:25+09:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/06/start?rev=1534835574&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/96/embed?rev=1534832096&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/46/data?rev=1531724808&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/section?rev=1531040474&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/16/head?rev=1531040396&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/nav?rev=1530845490&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/header?rev=1530844343&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/div?rev=1530776718&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/body?rev=1530689371&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/article?rev=1530608129&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/36/start?rev=1528122830&amp;do=diff"/>
                <rdf:li rdf:resource="http://zhidian.wuute.com/html5dev/doku.php/26/88/start?rev=1496490884&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://zhidian.wuute.com/html5dev/lib/tpl/bootstrap3_1/images/favicon.ico">
        <title>HTML5知典</title>
        <link>http://zhidian.wuute.com/html5dev/</link>
        <url>http://zhidian.wuute.com/html5dev/lib/tpl/bootstrap3_1/images/favicon.ico</url>
    </image>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/06/start?rev=1534835574&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-21T16:12:54+09:00</dc:date>
        <dc:creator>liwenfeng</dc:creator>
        <title>机制和原理</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/06/start?rev=1534835574&amp;do=diff</link>
        <description>机制和原理

文档结构

HTML5的一大革新之一就是文档结构更为简洁。

相对于HTML4，很多标签都有了非常简化的写法，比如根元素，HTML4里是这样的：


&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;lang=&quot;en&quot;xml:lang=&quot;en&quot;&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/96/embed?rev=1534832096&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-08-21T15:14:56+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>embed - [标准属性] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/96/embed?rev=1534832096&amp;do=diff</link>
        <description>embed

用途

&lt;embed&gt; 元素定义嵌入的资源，比如插件。

例子

代码


&lt;embed src=&quot;catgame.swf&quot;&gt;




执行结果 



属性

标准属性
属性描述HTML5新全局核心属性全局文本属性全局操作属性height设置嵌入资源的高度。✔src嵌入资源的 URL。✔type嵌入资源的  MIME 类型。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/46/data?rev=1531724808&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-16T16:06:48+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>data - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/46/data?rev=1531724808&amp;do=diff</link>
        <description>data

用途

&lt;data&gt;元素将一个指定内容和机器可读的翻译联系在一起。

例子


&lt;p&gt;product list&lt;/p&gt;
&lt;ul&gt;
 &lt;li&gt;&lt;data value=&quot;0001&quot;&gt;pc&lt;/data&gt;&lt;/li&gt;
 &lt;li&gt;&lt;data value=&quot;0002&quot;&gt;ipad&lt;/data&gt;&lt;/li&gt;
 &lt;li&gt;&lt;data value=&quot;0003&quot;&gt;smartphone&lt;/data&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/section?rev=1531040474&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-08T18:01:14+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>section - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/26/section?rev=1531040474&amp;do=diff</link>
        <description>section

用途

&lt;section&gt; 标签定义文档中的一个区域或者节（section）。比如章节、页眉、页脚或文档中的其他部分。

例子

代码
&lt;section&gt;
 &lt;h3&gt;HTML5知典&lt;/h3&gt;
 &lt;p&gt;HTML5知识库&lt;/p&gt;
&lt;/section&gt;

执行结果</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/16/head?rev=1531040396&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-08T17:59:56+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>head - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/16/head?rev=1531040396&amp;do=diff</link>
        <description>head

用途

&lt;head&gt;标签用于包含关于文档的信息，定义在文档的头部，且是所有头部元素的容器。&lt;head&gt;中的元素能够引用脚本、样式表的路径等等。

例子

代码


&lt;html&gt;
&lt;head&gt;
  &lt;title&gt; HTML5知典 &lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;p&gt; HTML5知典内容 &lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/nav?rev=1530845490&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-06T11:51:30+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>nav - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/26/nav?rev=1530845490&amp;do=diff</link>
        <description>nav

用途
 标签定义导航链接的部分。一个含有多个链接的区域，这个区域包含转到其他页面，或者页面内部其他部分的链接列表。

例子


代码
&lt;nav&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://html5dev.insidekb.cn/&quot;&gt;HTML5知典&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;./address&quot;&gt;Address&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Nav&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/header?rev=1530844343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-06T11:32:23+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>header - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/26/header?rev=1530844343&amp;do=diff</link>
        <description>header

用途

&lt;header&gt; 元素定义 section 或 document 的页眉，也可能包含其他元素，像logo、分节头部、搜索表单等。

例子

代码


&lt;header&gt;
欢迎来到HTML5知典
&lt;/header&gt;



执行结果




属性

标准属性
属性</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/div?rev=1530776718&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-05T16:45:18+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>div - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/26/div?rev=1530776718&amp;do=diff</link>
        <description>div

用途

&lt;div&gt;元素可以把文档分割为独立的、不同的部分，用于对其他元素进行分组。

它是一个块级元素，意味着会自动产生换行。

例子

代码
&lt;div style=&quot;color:#00FF00&quot;&gt;
  &lt;h3&gt;This is a header&lt;/h3&gt;
  &lt;p&gt;This is a paragraph.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/body?rev=1530689371&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-04T16:29:31+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>body - [事件属性] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/26/body?rev=1530689371&amp;do=diff</link>
        <description>body

用途

&lt;body&gt;元素定义文档的主体，并且只允许存在一个 &lt;body&gt; 元素。包含文档的所有内容（比如文本、图像、颜色、图形等等）。

例子

代码
&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
 &lt;body&gt;文档的内容 ......&lt;/body&gt;
&lt;/html&gt;</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/16/86/26/article?rev=1530608129&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-03T17:55:29+09:00</dc:date>
        <dc:creator>liuxiaofang</dc:creator>
        <title>article - [例子] </title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/16/86/26/article?rev=1530608129&amp;do=diff</link>
        <description>article

用途

&lt;article&gt;元素表示文档、页面、应用或网站中的独立结构，其意在成为可独立分配的或可复用的结构，或者来自 blog 的文本，或者是来自论坛的文本。亦或是来自其他独立内容。

例子</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/36/start?rev=1528122830&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-04T23:33:50+09:00</dc:date>
        <dc:creator>liwenfeng</dc:creator>
        <title>WebAPI编程</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/36/start?rev=1528122830&amp;do=diff</link>
        <description>WebAPI编程

WebAPI(Web Application Programming Interface)是HTML5所提供的用于开发WEB应用程序的一系列编程接口。

概述

HTML5已逐步成为开发WEB应用程序最理想的前端平台。WEB应用都是以网页的形式运行在浏览器中,因此也常常被称为网页应用程序。</description>
    </item>
    <item rdf:about="http://zhidian.wuute.com/html5dev/doku.php/26/88/start?rev=1496490884&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-03T20:54:44+09:00</dc:date>
        <dc:creator>liwenfeng</dc:creator>
        <title>选择器参考</title>
        <link>http://zhidian.wuute.com/html5dev/doku.php/26/88/start?rev=1496490884&amp;do=diff</link>
        <description>选择器参考

定义

在CSS中，选择器是一种用于选择需要添加样式的元素的条件指定。

概述

CSS的选择器大致可分为以下几大类：

	*  类选择器（Class selectors） 
通过设置元素的 class 属性，可以为元素指定类名。</description>
    </item>
</rdf:RDF>
