19.2k views
5 votes
Write the HTML code to create the following form elements:

Pizza size:
OSmall
O Medium
OLarge
Click to order Pizza , Click to Clear

1 Answer

6 votes

Answer:

<form>

<label for="pizza-size">Pizza size:</label><br>

<input type="radio" id="small" name="pizza-size" value="small">

<label for="small">Small</label><br>

<input type="radio" id="medium" name="pizza-size" value="medium">

<label for="medium">Medium</label><br>

<input type="radio" id="large" name="pizza-size" value="large">

<label for="large">Large</label><br><br>

<input type="button" value="Click to order Pizza">

<input type="reset" value="Click to Clear">

</form>

꧁༒αηѕωєяє∂ ву gσ∂кєу༒꧂

User JineshEP
by
8.1k points