因此,在我当前的项目中,当您导航到具有路径/home/about/company/team/
的“团队”页面时,页面标题如下所示:
/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 有何看法?