JSFiddle - React, Tailwind, and code Playground

HTML

<form>
    <input type="text" value="valor default" />
</form>

<form>
    <input type="text" value="valor default" />
</form>

<form>
    <input type="text" value="valor default" />
</form>

<input type="button" id="resetar" value="Resetar" onclick="resetar()" />

JavaScript

function resetar()
{
    $("form").each(function() {
        this.reset();
    });
}