【发布时间】:2011-11-27 17:27:04
【问题描述】:
最近我去了w3schools New HTML5 Elements,发现了“section”和“article”标签。我的问题是什么时候应该使用 section、article 或 div 标签,为什么当我使用 section 和 article 标签时文本会变小?像这样:
<section><h1>H1 tag in a section tag</h1></section>
<article><h1>H1 tag in an article tag</h1></article>
<h1>H1 tag in nothing</h1>
复制并粘贴到here。 (只是为了方便把它放在那里)
【问题讨论】:
-
这是一个很好的问题,但请注意:W3Schools sucks。大时代。