要过滤搜索结果,请使用<header>元素。标头应位于搜索结果部分:
<section id = "results"> <h1>Search results</h1> <header id = "search-filters"> <!-- filters --> </header> <article> <!-- search result 1 --> </article> <article> <!-- search result 2 --> </article> <article> <!-- search result 3 --> </article> <article> <!-- search result 4 --> </article> </section>