Radio Buttons

Syntax

<div>
<input type="radio"
	   id="Audi"
	   name="brand"
	   value="Audi">
<label for="Audi">Audi</label>

Attributes

  • type The type attribute here defines the type radio it is not related the the radio button but to the input tag
  • id Id is a unique ID that we use to select elements.
  • name We use this attribute

Check Boxes

File Upload

Hidden Input

References

Information
  • date: 2024.08.12
  • time: 11:16