Webseitenbau
Home
Site/Index
 
Web Webseitenbau
Google English français  
⬆4. 8. 12 Absenden

4.8.12 Druckknöpfe für "Absenden" und "Verwerfen"

-

1 Allgemein

Prinzip

-

2 Druckknöpfe für "Absenden" und "Verwerfen"

Codes

Formatierung:

1) Stylesheet

.input[type=submit], input[type=reset], 
input[type=button] {
padding:1px 3px;
font-size:1em;
font-family:sans-serif;
}

2) Quelltext

<input type="submit" value="Formular abschicken">
<input type="reset" value="Eingaben verwerfen">

3) HTML-Dokument

-

3 Farbige Buttons

Beispiel

1) Quelltext

<input type="button" value="Klick mich"
style="background-color:#ffe4b5;color:#000000;
font-style:italic;font-weight:bold;">

2) HTML-Dokument

Workshop

-

4 Grafische Buttons zum Absenden

Prinzip

1) Quelltext

<form action="http://de.selfhtml.org/cgi-bin/comments.pl">
 <table border="0" cellpadding="5" cellspacing="0"
 bgcolor="#E0E0E0">
  <tr>
   <td align="right">Ihre E-Mail-Adresse:</td>
   <td><input type="text" name="Mail" 
   size="30" maxlength="30"></td>
  </tr>
  <tr>
   <td align="right">Formular:</td>
   <td><input type="image" src="absende.gif"
   alt="Absenden"></td>
  </tr>
 </table>
</form>

2) HTML-Dokument

Ihre E-Mail-Adresse:
Formular:

-

5 Buttons mit Bild zum Absenden oder Abbrechen

Prinzip

-

6 Grundlagen-Websites & Workshops