Files
FH/WS24_25/WebTech/ue3/formWithHttp.html
2024-10-13 21:47:50 +02:00

36 lines
1.1 KiB
HTML

<form action="https://beispiel.com/newsletter" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Angaben</legend>
<div>
<label for="email">E-Mail:</label>
<input type="email" id="email" name="mailAddr" required>
</div>
<div>
<label for="themen">Themen:</label>
<select id="themen" name="topics" multiple required>
<option value="Geocaching">Geocaching</option>
<option value="Bouldern" selected>Bouldern</option>
<option value="Klettern">Klettern</option>
<option value="Wandern">Wandern</option>
<option value="Yoga">Yoga</option>
</select>
</div>
</fieldset>
<div>
<label>Aktion:</label>
<label>
<input type="radio" name="action" value="sub" checked> Abonnieren
</label>
<label>
<input type="radio" name="action" value="unsub"> Abbestellen
</label>
</div>
<div>
<button type="submit">Absenden</button>
</div>
</form>