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{yaltirakli,
title = "DuckDuckGo search box",
author = "Yaltirakli, Gokberk",
journal = "gkbrk.com",
year = "2024",
url = "https://www.gkbrk.com/duckduckgo-search-box"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation Gokberk Yaltirakli, "DuckDuckGo search box", November, 2024. [Online]. Available: https://www.gkbrk.com/duckduckgo-search-box. [Accessed Nov. 12, 2024].
APA Style Yaltirakli, G. (2024, November 12). DuckDuckGo search box. https://www.gkbrk.com/duckduckgo-search-box
Bluebook Style Gokberk Yaltirakli, DuckDuckGo search box, GKBRK.COM (Nov. 12, 2024), https://www.gkbrk.com/duckduckgo-search-box