什么是HTML5?
HTML5, the latest version of the Hypertext Markup Language (HTML), is the most radical revision
of the language to date. It introduces many new features in a variety of areas. Some of the more
notable additions include:
• Built-in multimedia tags for audio and video
• A canvas tag for drawing content in the browser
• Smarter forms that let you do things such as validation through the use of a required attribute
HTML5 doctype
The doctype declaration should be the first thing in an HTML document, before the tag.
HTML4 approach:
Simple HTML page using div tags
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>
A Simple HTML Page Using Divs
</title>
</head>
<body>
<div id='header'>Header</div>
<div id='content'>Content</div>
<div id='footer'>Footer</div>
</body>
</html>
HTML5 new tags are:
1. header 标记一个section的头部
2. section 类似于一本书的章节
例子:
<header>Header</header>
<section>
<p>
This is an important section of the page.
</p>
</section>
<div id='footer
3. article 重要的内容块
例子:
<header>Header</header>
<section>
<article>
<p>
This is an important section of content on the page.
Perhaps a blog post.
</p>
</article>
<article>
<p>
This is an important section of content on the page.
Perhaps a blog post.
</p>
</article>
</section>
4. aside
例子:
<section>
<article>
<p>
This is an important section of content on the page.
Perhaps a blog post.
</p>
<aside>
<p>
This is an aside for the first blog post.
</p>
</aside>
</article>
<article>
ibm.com/developerWorks/ developerWorks®
New HTML5 structural tags Page 7 of 11
<p>
This is an important section of content on the page.
Perhaps a blog post.
</p>
</article>
5. footer
6. nav
分享到:
相关推荐
Improve the semantics of your documents using new structural tags: sections, groups, forms, etc. Learn the new web form features: autofocus, placeholders, field types, etc. Explore the new AUDIO and ...
airframe structural design 的第二部分,两个都下了才能解压
- **Structural Tags in HTML5**:专注于HTML5结构性标签的使用教程。 - **HTML5 and CSS3 - Tricks You’ll Be Using Soon**:演示如何使用HTML5和CSS3开发博客页面,强调了未来标准的实践应用。 - **Design an ...
Structural Priors in Deep Neural Networks Yani Andrew Ioannou Department of Engineering University of Cambridge This dissertation is submitted for the degree of Doctor of Philosophy
利用MATLAB进行结构相似性指数(Structural Similarity Index)计算
结构方程模型(Structural Equation Modeling, SEM)是一种多变量统计技术,它结合了路径分析和验证性因子分析,用于估计复杂关系网络中的变量间的因果效应。本案例通过WinAMOS软件对Wheaton的社会疏离研究进行SEM...
5. **外部模型与接口**: 外部模型接口的改进使得与其他软件的交互更加顺畅,比如与MAPDL(ANSYS Mechanical APDL)的集成,增强了接触和元素的处理,以及材料、求解器的设置。 6. **结构优化**: 结构优化模块的...
The Plastic Methods of Structural Analysis B G Neal 结构分析的塑性方法
A Multilevel Structural Equation Model Testing the Influences of Socio-Economic Status and Pre-Primary Education on Reading Literacy in Italy Original
结构方程建模(Structural Equation Modeling,简称SEM)是一种复杂的统计建模技术,它结合了因子分析和回归分析的技术,用来检验模型中包含的因果关系。SEM常用于社会科学、环境科学、心理学、经济学等领域的研究,...
### 结构封闭(Structural Closures) #### 引言与背景 《结构封闭》(Structural Closures ch600-1 2005)是美国海军技术手册中的一个章节,更新自2002年12月31日的版本。此章节主要涵盖了船舶上非弹道性水密和气密门...
《Plasticity for Structural Engineers》是陈惠发教授的经典教材,它在塑性理论方面做了深入的阐述,对结构工程专业人员有着极大的帮助。塑性理论在土木工程中是一个非常重要的领域,尤其对于那些设计和分析承载...
ABS Rules for Building and Classing Marine Vessels -part-5a 5b-Specific Vessel Types Common Structural Rules for Bulk Carriers and Oil Tankers 2023.pdf
Harary、Norman和Cartwright合著的《Structural Models - An Introduction to the Theory of Directed Graphs》是这一领域的经典之作。本书详细介绍了有向图的概念,包括节点、边、路径、循环、树等基本元素,以及度...
结构动力学(structural dynamics)是研究结构在动载荷作用下的响应和行为的学科。在所给文件片段中,讨论了具有两个自由度(2DOF)系统的动力学问题。文档首先简要说明了2DOF系统可以看作是两个单自由度(SDOF)...
"Structural Analysis - I_structuralanalysis_datacompaction_"这个标题暗示了我们正在讨论的是一个关于结构分析的项目,其中可能涉及到了数据压缩的技术,这在处理大量工程数据时非常有用。 描述中的"soil ...
总之,《ANSYS Mechanical APDL Structural Analysis Guide》是工程师和研究人员进行高级结构分析的重要参考资料,提供了深入的理论知识和实践经验,旨在提升用户对ANSYS软件的掌握程度和使用效率。