title: How does a website highlight search terms you used in the search engine?
body: <p>I've seen some websites highlight the search engine keywords you used, to reach the page. (such as the keywords you typed in the Google search listing)</p>
  
  <p>How does it know what keywords you typed in the search engine? Does it examine the referrer HTTP header or something? Any available scripts that can do this? It might be server-side or JavaScript, I'm not sure.</p>