<!DOCTYPE html>
<html lang="en-US">
<body>
<h2>Choose Your Gender</h2>
<form action="/gender.php" method="get">
<button name="gender" type="submit" value="Male">Male</button>
<button name="gender" type="submit" value="Female">Female</button>
<button name="gender" type="submit" value="Other">Other</button>
</form>
<p><strong>Note:</strong> Text in the value attribute will be submitted, but, not the text in </strong>button tag</strong>, try by changing the text in the <strong>value attribute</strong></p> </body>
</html>