<input type="radio" id="radioButton">They are called radio buttons because they look and operate in a similar manner to the push buttons on old-fashioned radios, such as the one shown below.

HTML

<!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio -->

<input type="radio" id="radioButton">
<button onclick="selezionaRadioButton()">
Clicca per selezionare
</button>
<button onclick="deselezionaRadioButton()">
Clicca per deselezionare
</button>

JavaScript

function selezionaRadioButton() {
  document.getElementById("radioButton").checked = true;
}
function deselezionaRadioButton() {
  document.getElementById("radioButton").checked = false;
}