Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 740 Bytes

File metadata and controls

37 lines (29 loc) · 740 Bytes

Forms

Form element

<form action="/submit" method="POST"> <!-- Form elements go here --> </form>

Text input

<input type="text" name="username" placeholder="Username">

Password input

<input type="password" name="password" placeholder="Password">

Radio buttons

<input type="radio" id="option1" name="option" value="1">
<label for="option1">Option 1</label>
<input type="radio" id="option2" name="option" value="2">
<label for="option2">Option 2</label>

Checkbox

<input type="checkbox" id="subscribe" name="subscribe" value="yes">
<label for="subscribe">Subscribe to Newsletter</label>

Sumbit button

<input type="submit" value="Submit">