Skip to main content

Form Page Template

<main id="main-content">
<h1>Create your account</h1>

<form action="/signup" method="post">
<fieldset>
<legend>Profile</legend>

<label for="fullName">Full name</label>
<input id="fullName" name="fullName" type="text" autocomplete="name" required />

<label for="email">Email</label>
<input id="email" name="email" type="email" autocomplete="email" required />

<button type="submit">Create account</button>
</fieldset>
</form>
</main>

Why It Is Gold Standard

  • The page purpose is clear
  • Labels and controls are explicit
  • The submit action is unambiguous

Next Step