Do you highlight the search term?

Last updated by Brady Stroud [SSW] about 1 month ago.See history

When implementing search on a website, do you know that it is best to highlight the search terms in the page body?

Search is a common feature in websites, and one you will most likely have to implement at some stage. When search returns a list of items, it is useful to highlight the search terms where they appear in the results.

2014 08 07 15 48 11 before compressor

Figure: Search for items with these tags

2014 08 07 15 47 15 after compressor

Figure: Search results have their relevant tags highlighted

We open source. Powered by GitHub