Zum Inhalt springen

Kostenloser HTML-Formulargenerator

Erstelle ein Formular, bearbeite HTML und CSS und exportiere den Code. Ohne Konto.

Formularvorlagen ansehen

HTML für ein Kontaktformular

HTML
<style>
.gf-form, .gf-form * { box-sizing: border-box; }
.gf-form { display: grid; gap: 20px; max-width: 560px; margin: 0 auto; padding: 32px; color: #111216; background: #fff; font: 14px/1.5 system-ui, sans-serif; }
.gf-form h1, .gf-form h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.gf-form .gf-field { display: grid; gap: 7px; min-width: 0; }
.gf-form label, .gf-form legend { font-weight: 500; }
.gf-form input, .gf-form textarea, .gf-form select { width: 100%; border: 1px solid #d8d9e1; border-radius: 8px; background: #fff; color: inherit; padding: 11px 12px; font: inherit; }
.gf-form textarea { min-height: 112px; }
.gf-form input[type=checkbox], .gf-form input[type=radio] { width: auto; margin-right: 8px; }
.gf-form button[type=submit] { border: 0; border-radius: 8px; padding: 12px 18px; background: #2541e8; color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.gf-form fieldset { border: 0; padding: 0; margin: 0; }
.gf-form .gf-choice-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; }
.gf-form .gf-choice-field > input { grid-column: 1; grid-row: 1; width: 16px; height: 16px; margin: 3px 0 0; padding: 0; }
.gf-form .gf-choice-field > label { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.gf-select-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}
.gf-select-wrap > select {
  grid-column: 1;
  grid-row: 1;
  appearance: none;
  padding-right: 44px;
}
.gf-select-wrap > svg {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: 18px;
  height: 18px;
  margin-right: 16px;
  pointer-events: none;
}
.gf-required-indicator { color: #6b6c77; font-weight: 400; margin-left: 3px; }
@media (max-width: 480px) { .gf-form { padding: 20px; } }
</style>
<form action="YOUR_FORM_URL" method="POST" class="gf-form">
<h2>Kontaktiere uns</h2>
<div class="gf-field"><label for="template-contact-0">Name</label><input type="text" id="template-contact-0" name="name"></div>
<div class="gf-field"><label for="template-contact-1">E-Mail</label><input type="email" id="template-contact-1" name="replyto" required placeholder="[email protected]"></div>
<div class="gf-field"><label for="template-contact-2">Nachricht</label><textarea id="template-contact-2" name="message" required></textarea></div>
<button type="submit">Nachricht senden</button>
</form>

Vom Formular zur Nachricht

  1. Füge Felder hinzu und passe Beschriftungen, Auswahlmöglichkeiten und Gestaltung an.
  2. Bearbeite HTML und CSS oder exportiere das vollständige Formular für deine Website.
  3. Erstelle ein kostenloses Konto, wenn du Nachrichten empfangen möchtest. Ersetze YOUR_FORM_URL durch die Empfangs-URL deines Formulars.

300 kostenlose Einsendungen pro Monat, unbegrenzte Formulare und 30 Tage Nachrichtenverlauf. Keine Kreditkarte nötig.