所以,在我目前的項目,當您導航到「團隊」頁面,其中有路徑/home/about/company/team/
頁面的標題是這樣的:這種情況下正確的標記是什麼(頁面標題和「rootline」)?
/home/about/company/ <--- this is what i call the "rootline"
TEAM <-- this is the title of the current page
... content goes here ...
我當前的標記看起來像這樣:
<h1>TEAM</h1>
<h2>/home/about/company/</h2>
<div id="content">
<h3>Content Headline</h3>
...
</div>
但是感覺不對,將根部線包在h2
標籤中。其實,它不是一個標題,對吧?在這種情況下,您對如何創建良好的語義HTML有什麼看法?
所以* rootline *只是表明您在層次結構中的位置?我認爲這沒有特別的標記。 – 2010-03-04 18:33:20
我不認爲我會在「rootline」上使用任何標題標籤,但僅僅是因爲SEO的影響。除此之外,我不認爲還有其他問題。 – ssergei 2010-03-04 22:16:11
搜索引擎優化與它有什麼關係?標題標籤的使用不是搜索營銷人員的專有權限。 :o)(而我是其中之一) – Marty 2010-03-05 04:59:12