HTML

From Utopia
Revision as of 15:32, 25 May 2023 by Locke (talk | contribs) (→‎Form)
Jump to navigation Jump to search


Button

<button>Klick hier</button>


Embedded JS

<script>

code...

</script

Form

<form class="" action="" method="POST">

</form>

Action kann besielsweise ein link zu ner anderen URL sein, wo dann zum Beispiel der inhalt eines Input angefuegt wird.

INPUT

Allgemein

<input type="field-type" name="field-name" value="default value"

Checkbox

Eine Box zum anclicken...

<input type="checkbox"> Checkbox1

Colour Picker

Das System-Farbaussuch-Tool...

<input type="color" name="" value="">

Email

Validiert ob die Email auch das gueltige Email Format hat

<input type="email" name="useremail" value="example@email.com">

Password

Wandelt die Eingabe in Sternchen...

<input type="password" name="pwd" value="">

Submit

Zum Abschicken eines Formulars...

<input type="submit" name="submit" value="GO GO GO">

Text

Einfach ein beliebiges Textfeld...

<input type="text" name="eingabefeld" value="Hier bitte auskotzen...">


Label

Feld-Zugehörige Bezeichner...

<label> Gib mir text <input type="text"> </label>


und fuer mehrere Felder...

<label for="userinput">Bitte Eingabe machen</label>

<input id="userinput" name="pwd1" value="Passwort 1">

<input id="userinput" name="pwd2" value="Passwort 2">