First page Back Continue Last page Image
- <! Using Radio Buttons>
- <p> Select a Color </p>
- <label style="display: block;">
- <input type="radio" name="color" value="red">Red
- </label>
- <label style="display: block;">
- <input type="radio" name="color" value="green">Green
- </label>
- <label style="display: block;">
- <input type="radio" name="color" value="blue">Blue
- </label>
- Here we are using labels again to take advantage of the feature
- Style=“display: block;” is CSS that we used to arrange the boxes vertically