We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML5是HTML的新标准,其主要目标是无需任何额外的插件如Flash、Silverlight等,就可以传输所有内容。它囊括了动画、视频、丰富的图形用户界面等。
HTML5
HTML
Flash
Silverlight
从文档声明类型上看:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
从语义结构上看:
HTML4.0
<div id="header"></div>
<header>
<article>
<footer>
从语法的处理上看:
HTML无法处理不准确的语法;HTML5能够处理不准确的语法。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
什么是HTML5
HTML5
是HTML
的新标准,其主要目标是无需任何额外的插件如Flash
、Silverlight
等,就可以传输所有内容。它囊括了动画、视频、丰富的图形用户界面等。区别
从文档声明类型上看:
HTML
是很长的一段代码,很难记住。如下代码:HTML5
却只有简简单单的声明,方便记忆。如下:<!DOCTYPE html>
从语义结构上看:
HTML4.0
:没有体现结构语义化的标签,通常都是这样来命名的<div id="header"></div>
,这样表示网站的头部。HTML5
:在语义上却有很大的优势。提供了一些新的标签,比如:<header>
、<article>
、<footer>
。从语法的处理上看:
HTML无法处理不准确的语法;HTML5能够处理不准确的语法。
The text was updated successfully, but these errors were encountered: