Blogger Information
Blog 33
fans 0
comment 2
visits 37332
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
什么是HTML5
cxw的博客
Original
2543 people have browsed it

1,HTML5不是一种新语言,它是html语言第五次修改而成的版本

2,HTML5支持现在主流的浏览器(Google,firefox,safari.......) IE9  及以上支持,IE8及以下不支持

3,改变了用户文档的交互方式:多媒体 Canvas  audio

4,增加了其它新的特性:语义特征,本地存储,网页多媒体 二维,三维 .特效,(动画,过渡)

5,相对于h4:

1,进步:抛弃了一些不合理不常用 的标记和属性

2,新增了一些标记和属性表单

3,从代码的角度而言,h5网页结构代码更简洁

HTML5创建方式:html5 +tab

实例

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

html:xt +tab:XHML过渡型文档类型

实例

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
</head>
<body>

</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

HTML4的创建:html:4S +tab

实例

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
</head>
<body>

</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例






Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post