title: How to implement a search box like Google news
body: <p>I am trying to implement a search box similar to what Google News. Basically when you type a search terms, you get two options in the drop down to allow you to search either in news or the whole web.</p>
  
  <p><a href="https://i.stack.imgur.com/sOt8I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sOt8I.png" alt="enter image description here"></a></p>
  
  <p>I know that there are many select plugins such as select2, but I don't really think that they are the right solution because they are designed for selecting options.</p>
  
  <p>I would really appreciate it if someone can shed some light and point me to the right direction before I put something hacky. Thanks!</p>