HTML-Kontaktformular als Vorlage
Gib Besuchern einen klaren Weg, dich zu erreichen. Halte das Formular kurz und verbinde es, um Anfragen per E-Mail und im Posteingang zu erhalten.
Geeignet für
- Unternehmenswebsites
- Persönliche Portfolios
- Allgemeine Anfragen
Dieses Formular auf deiner Website verwenden
- Passe Felder und Gestaltung an.
- Verbinde dein Konto und kopiere die Formular-URL.
- Füge den HTML-Code in deine Website ein oder bitte deine KI, das Formular zu verbinden.
Enthaltene Felder
- Name
- Nachricht
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>Fragen zu dieser Vorlage
Kann ich das Design meiner Website behalten?
Ja. Übernimm die Empfangs-URL in dein vorhandenes Formular oder passe diese Vorlage an deine Website an.
Welche Felder sind Pflichtfelder?
Diese Vorlage erfordert E-Mail und Nachricht. Beschriftungen und Pflichtfelder kannst du im Editor ändern.