Search on the site and in the search engines

You can add a site search bar on the Turbo page that passes the search query to the search engines. Search results open in a separate window.

<form action="https://yandex.ru/search/?text={text}" method="GET">
    <input type="search" name="text" placeholder="Search for good recipes" />
</form>

Attribute

Description

action*

The site or the search engine URL https://example.com/search/

For example, to search in Yandex

https://yandex.ru/search/?text={text}&site=example.ru
Where do I find the search engine URL
  1. Enter any search query in the search engine.

  2. Transform the URL you got to the link that looks like: https://example.com/search/{text}.

method

Takes only the GET value.

name*

Name of the query parameter in which the search query is passed. For example, Yandex uses the text parameter:

https://yandex.ru/search/?text={text}

type*

Takes only the search value.

placeholder

The text displayed in the search bar by default.

* Required attribute.

Contact support
Previous
Next