spec 1 linked patterns checked

MDN HTML mark text element

Documents the mark element for passages relevant to the user's current activity, including search result examples, accessibility notes, and warnings not to use mark for unrelated syntax highlighting.

Read with a purpose

What this source can teach

Use this source to check a technical or accessibility requirement against its exact wording and scope.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Search result highlighting Choose search result highlighting when returned results need visible evidence of where the submitted query matched. A highlight represents the submitted query or configured highlight query, not a decorative emphasis chosen independently from search matching. MDN documents mark as suitable for context-relevant passages such as words that matched a search operation.

Comparisons supported by this source

Evidence Role

This source is treated as spec evidence. Its value comes from the specific claims and setting described above.

Publisher: MDN Web Docs. Last checked: .

Saved items