欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2/Agda, C++/Lisp/Haskell
HTML5/sections
来自开放百科 - 灰狐
(版本间的差异)
小 |
小 |
||
| 第2行: | 第2行: | ||
例子: | 例子: | ||
| − | + | <section> | |
<h1>Forest elephants</h1> | <h1>Forest elephants</h1> | ||
<section> | <section> | ||
| 第19行: | 第19行: | ||
<p>(c) 2010 The Example company | <p>(c) 2010 The Example company | ||
</footer> | </footer> | ||
| − | |||
==链接== | ==链接== | ||
2011年4月3日 (日) 13:38的版本
HTML5 新增的相关Sections有:<article>, <section>, <nav>, <aside>, <hgroup>, <header> and <footer>.
例子:
<section>
目录 |
Forest elephants
<section>
Introduction
In this section, we discuss the lesser known forest elephants </section> <section>
Habitat
<P>Forest elephants do not live in trees but among them.
</section>
<aside>
<p>advertising block
</aside>
</section>
<footer>
<p>(c) 2010 The Example company
</footer>
链接
<discussion>characters_max=300</discussion>
分享您的观点