DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

HTML Reference: Forms

Quick reference for Forms.

Read time: 1 min Words: 14
Open Playground → HTML My Progress

HTML Reference — Forms

Quick summary of Forms with syntax and example.

Syntax

<form action="/submit" method="post">...</form>

Example

<!-- Simple form -->
<form action="/submit" method="post">
  <label>Name</label>
  <input name="name" required>
  <button type="submit">Send</button>
</form>