Hello, I'm studying HTML5 and CSS3 and I'm trying to style it by performing the placement of the inputs / checkbox / combobox and their labels.
Suppose I have the following code:
<form>
<label for="Input1" id="lbl1">Input 1</label>
<input id="Input1" type="text">
<label for="Input2" id="lbl2">Input 2</label>
<input id="Input2" type="text">
<label for="Input3" id="lbl3">Input 3</label>
<input id="Input3" type="text">
<label for="combobox1" id="lbl4">Combobox 1</label>
<select id="combobox1">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<label for="combobox2" id="lbl5">Combobox 2</label>
<select id="combobox2">
<option value="1">1</option>
<option value="2">2</option>
</select>
<label for="Input4" id="lbl5">Input 4</label>
<input id="Input4" type="text">
<input type="checkbox" id="checkbox" value="selecionado"> <label for="checkbox" id="lbl6">Checkbox</label>
<label for="Input5"id="lbl7">Input 5</label>
<input id="Input5" type="text">
</form>