In order to get a search box for your website that uses DuckDuckGo, you can use the following snippet.
<form target="_blank" method="get" action="https://duckduckgo.com">
<!-- Search box -->
<input name="q" type="text" placeholder="Search terms" />
<!-- The website to search -->
<input value="gkbrk.com" name="sites" type="hidden" />
<!-- Region for localization, optional -->
<input value="uk-en" name="kl" type="hidden" />
</form>
Citation
If you find this work useful, please cite it as:
@article{yaltirakliduckduckgosearchbox,
title = "DuckDuckGo Search Box",
author = "Yaltirakli, Gokberk",
journal = "gkbrk.com",
year = "2023",
url = "https://www.gkbrk.com/duckduckgo-search-box"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation Gokberk Yaltirakli, "DuckDuckGo Search Box", December, 2023. [Online]. Available: https://www.gkbrk.com/duckduckgo-search-box. [Accessed Dec. 04, 2023].
APA Style Yaltirakli, G. (2023, December 04). DuckDuckGo Search Box. https://www.gkbrk.com/duckduckgo-search-box
Bluebook Style Gokberk Yaltirakli, DuckDuckGo Search Box, GKBRK.COM (Dec. 04, 2023), https://www.gkbrk.com/duckduckgo-search-box