在以下示例 HTML5頁面結構,下面中的哪一個更語義在相對於是出現在邊欄,其出現在多個頁面上,做元素窗口小部件(元件的側邊欄不是必需的,直接,也沒有具體地涉及本頁內容):對於小工具的側欄,哪個更具語義?
<body>
<header id="site-header">
...
</header>
<section id="page-body">
<main>
<header></header>
<article></article>
<footer></footer>
</main>
<aside class="sidebar" id="sidebar-a">
<section id="search-widget">
...search field, etc...
</section>
<section id="recent-articles-widget">
...articles list...
</section>
</aside>
<aside class="sidebar" id="sidebar-b">
<section id="cloud-tag-widget">
...search field, etc...
</section>
<section id="recent-articles-widget">
...articles list...
</section>
</aside>
</section>
<footer id="site-footer"> ... </footer>
</body>
或...
<body>
<header id="site-header">
...
</header>
<section id="page-body">
<main>
<header></header>
<article></article>
<footer></footer>
</main>
<section class="sidebar" id="sidebar-a">
<aside id="search-widget">
...search field, etc...
</aside>
<aside id="recent-articles-widget">
...articles list...
</aside>
</section>
<section class="sidebar" id="sidebar-b">
<aside id="cloud-tag-widget">
...tag list...
</aside>
<aside id="popular-articles-widget">
...articles list...
</aside>
</section>
</section>
<footer id="site-footer"> ... </footer>
</body>
AKA - 它更多的語義或以任何方式更適合於把節內有多個旁白,或包括內多個部分在旁邊創建一個sid ebar的小工具?他們應該在一個div內是簡單的div嗎?或部分內的div?在一旁的科室? 爲什麼? 這是爲屏幕閱讀器或搜索引擎更容易嗎? 爲什麼?
這個問題似乎是題外話,因爲它是關於搜索引擎優化和過於寬泛 –