OLD | NEW |
(Empty) | |
| 1 title=Buttons |
| 2 |
| 3 <h1>Buttons</h1> |
| 4 <p>Default styles for native form elements.</p> |
| 5 |
| 6 <p><a href="forms">Back to Forms</a></p> |
| 7 |
| 8 <nav> |
| 9 <ol> |
| 10 <li><a href="#default">Default buttons</a></li> |
| 11 <li><a href="#reset">Reset buttons</a></li> |
| 12 <li><a href="#submit">Submit buttons</a></li> |
| 13 </ol> |
| 14 </nav> |
| 15 |
| 16 <section id="default"> |
| 17 <h2>Default buttons</h2> |
| 18 <p> |
| 19 <button type="button">Default button</button> |
| 20 <input type="button" value="Default input" /> |
| 21 </p> |
| 22 <p> |
| 23 <button type="button" disabled>Disabled default button</button> |
| 24 <input type="button" disabled value="Disabled default input" /> |
| 25 </p> |
| 26 </section> |
| 27 |
| 28 <section id="reset"> |
| 29 <h2>Reset buttons</h2> |
| 30 <p> |
| 31 <button type="reset">Reset button</button> |
| 32 <input type="reset" value="Reset input" /> |
| 33 </p> |
| 34 <p> |
| 35 <button type="reset" disabled>Disabled reset button</button> |
| 36 <input type="reset" disabled value="Disabled reset input" /> |
| 37 </p> |
| 38 </section> |
| 39 |
| 40 <section id="submit"> |
| 41 <h2>Submit buttons</h2> |
| 42 <p> |
| 43 <button type="submit">Submit button</button> |
| 44 <input type="submit" value="Submit input" /> |
| 45 </p> |
| 46 <p> |
| 47 <button type="submit" disabled>Disabled submit button</button> |
| 48 <input type="submit" disabled value="Disabled submit input" /> |
| 49 </p> |
| 50 </section> |
OLD | NEW |