Hi,
frag mich jetzt schon länger was besser ist:
z.B.:
<input style="margin: 0px 10px 5px 2px;" type="text" id="Input" name="Input" />
In diesem Fall wäre doch besser das "margin: 0px 10px 5px 2px;" in eine externe CSS Datei zu schreiben.
Wenn ich jetzt das habe:
<input type="text" name="input" id="input" value="test" onfocus="if (this.value='Test') this.value='';" />
kann ich onfocus="if (this.value='Test') this.value='';"
auch in eine externe js Datei schreiben?
MfG
Simon