Name

search

Type

input

Synopsis

An input element of type search is functionally equivalent to one of type text. Reason for this separate input is mainly for styling.

Parameters

input type="search"

Example

<form action="get" mwreturn="{{fullurl:Questions-and-answers}}" restrictions="lifted" >
  <label for="search-this-site">Search me</label>
  <div class="input-group">
    <input type="search" id="search-this-site" name="filters" value="Tag^^Installation" class="form-control" />
    <div class="input-group-append"><input type="submit" value="Go" class="btn btn-secondary" /></div>
  </div>
</form>

Note

Links

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search