Check the HTML contracts before adapting a sample into an application.
Review the lessons
- HTML forms: choose GET for retrieval and POST for a state change
- HTML labels: bind each control to a durable accessible name
- HTML form names and disabled controls: know which values submit
- HTML constraint validation: improve feedback without trusting the browser
- HTML radio and checkbox controls: submit choices with explicit values
- HTML select and textarea: preserve meaningful values and editable text
Common Mistakes
Markup examples do not supply missing routes, assets, persistence, or authorization checks.
