<input id="ageInputId" max="100" min="1" name="ageInputName" type="range" value="24" /> <output id="ageOutputId" name="ageOutputName">24</output>
<form name="registrationForm">
<input type="range" name="ageInputName" id="ageInputId" value="24" min="1" max="100" oninput="ageOutputId.value = ageInputId.value">
<output name="ageOutputName" id="ageOutputId">24</output>
</form>