-
Q: 如果你有一个搜索结果页面,你想高亮搜索的关键词。什么HTML 标签可以使用?
A:
<mark>
标签表现高亮文本。The HTML
<mark>
Element represents highlighted text, i.e., a run of text marked for reference purpose, due to its relevance in a particular context. For example it can be used in a page showing search results to highlight every instance of the searched for word.