Theme:
Good HTML to Radio, Checkbox and Text input
Do you have a good HTML to radio, checkbox, and text input?
Date: Thursday, June 8, 2023
2 answers |
349 view(s)
by Mauricio Junior
Answers
<h2>Radio</h2>
<input type="radio" value="1" name="rdTest" id="rdTest1"/><label for="rdTest1">Option 1</label>
<br/>
<input type="radio" value="2" name="rdTest" id="rdTest2"/><label for="rdTest2">Option 2</label>
<br/><br/><br/>
<h2>CheckBox</h2>
<input type="checkbox" value="1" id="chkTest"/> <label for="chkTest">Option 1</label>
<br/><br/><br/>
<h2>Placeholder</h2>
<input type="text" placeholder="Guide the user"/>
I hope that helps you. mauriciojunior.net
Thursday, June 8, 2023
Mauricio Junior
Usar o label faz toda a diferença no código
Thursday, August 10, 2023
Mauricio Junior