0
試圖找出正確使用html5 <section>
元素的方法。在這種情況下,我是否過度使用<section>
元素?過度使用html部分元素
<main>
<section id="slider">
<h2>What we can do</h2><!-- not visible -->
<section>
<h3>Slider 1</h3>
<p>description</p>
</section>
<section>
<h3>Slider 2</h3>
<p>description</p>
</section>
<section>
<h3>Slider 3</h3>
<p>description</p>
</section>
</section>
<section>
<h2>Our mission</h2><!-- not visible -->
<section>
<h3>Grow</h3>
<p>description</p>
</section>
<section>
<h3>Big Ideas</h3>
<p>description</p>
</section>
<section>
<h3>Latest Trends</h3>
<p>description</p>
</section>
</section>
</main>
[令人印象深刻的站點(http://www.impressivewebs.com/html5-部分/)狀態「DO使用標籤切換器或**內容滑塊**(如果不需要無序列表)的每個單獨部分的使用部分」 – Larry21
@ Larry21你有什麼不適合div的好地方。部分肯定會是更好的選擇。這些不是通用元素,它們是內容片段。 div現在僅用於佈局中對內容文檔沒有意義的地方。 – m59
@ Larry21我相信Mozilla開發者網絡會比Louis Lazaris更有信心,尤其是因爲Lazaris先生似乎無法在自己的博客文章中下定決心。 –