JSFiddle - React, Tailwind, and code Playground
by bvotcode
HTML
<form method="get" action="pageA">
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" value="John"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname" value="Doe"><br><br>
Choose your page when submit:
<button name="subject" type="submit" value="aa" formaction="https://thanhnien.vn/">Page A</button>
<button name="subject" type="submit" value="bb" formaction="https://vnexpress.net/">Page B</button>
</form>