What is a Search box (Search bar)?

Card Puncher Data Processing

About

A searchbox or search bar is a combobox where the user enters a search term that should be searched in a collection of documents.

The search may be:

  • local in a list of rows (the document being a row)
  • remote against a database such as a search engine.

Example

HTML Basic

A search box in HTML is done with a input/search

<label for="searchId">Search: </label> 
<input id="searchId"  name="searchName" type="search"  placeholder="search term" />

Search box with Autocompletion

How to create an Autocompletion functionality with CSS, Javascript and HTML

Usage

  • retrieving documents similar to the search term
  • filtering a list of documents

Feature

Search box may also have the following features:

  • autocompletion feature that will show a list of possible search term
  • debounce: when the user enters the search term, the search box will not search for every keystroke.

Library

Name AutoComplete List Filtering
Floating ui Yes Yes
auto-complete Yes No
omnisearch (Demo) Yes No
listjs No Yes

Metadata

If you want to advertise your own search engine or discover them, check this article: Search Engine - How to advertise your website engine





Discover More
Bootstrap - Select

Bootstrap permits to style the default select element but does not add any feature. The bootstrap select library aims to fill the gap: with a search box function multiple select on one line and...
Devtool Chrome Event Listener
DOM Event - Keydown

A Keydown is an input device event that tracks when a key goes down on the keyboard. keyup You can attach it to all element. This is also possible to create advanced accesskey (ie...
HTML - Accesskey Attribute (keyboard shortcut)

HTML All HTML elements may have the accesskey content attribute set. The accesskey attribute's value is used by the user agent as a guide for creating a keyboard shortcut that focuses (ie activates)...
HTML - Input Search

A input search is a html input element with a search type that represents a search box. It's identical to text inputs, but may be styled differently by the user agent. size is the length in em...
How to create a Debounce Function in Javascript?

A debounce is a function that: will wrap a callback function willnot let the callback function execute for each event will let the callback function execute only when a certain amount of time...
Color Autocompletion List
How to create an Autocompletion functionality with CSS, Javascript and HTML

This article shows you how to create a search box with an autocompletion feature
Search Engine - Search term

search terms are the words that are entered in the searchbox of a search engine. Search term can be found in the Google Search Console at the search-analytics...
UI - Popover

A popover is a overlay graphic element that shows up (pops) over the actual graphic elements when the user makes an active action on an interactive/control element such as: typing in a input box...
Card Puncher Data Processing
What are Floating Lists (listbox popup)?

Floating lists are lists that are presented to the user in a overlay They are also known as listbox popup Type Focus after rendering Dropdown Element in the list Select Element in the list ...
Card Puncher Data Processing
What is Autocompletion?

Autocompletion is a floating list that: presents to the user possible values that have been chosen from an input to complete or correct it Search autocompletion: when the user is typing a...



Share this page:
Follow us:
Task Runner