diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-04-14 15:18:00 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-04-14 15:18:00 +0200 |
| commit | e965fd0feb82d941615ad7ab525ea20d7e651bd9 (patch) | |
| tree | 5506469f0a51602c833483cdbf7def54aa118bdd /Aufgabe04/user.html | |
| parent | a8fb77955129d6f7b96c0acd144bc70e1cc675c1 (diff) | |
| download | InternetTechnologien-e965fd0feb82d941615ad7ab525ea20d7e651bd9.tar.gz InternetTechnologien-e965fd0feb82d941615ad7ab525ea20d7e651bd9.zip | |
Now uses the label tag which i was completely unaware of
The label tag associates an element with the text so that clicking the
text focuses the control specified in the for attribute.
Diffstat (limited to 'Aufgabe04/user.html')
| -rw-r--r-- | Aufgabe04/user.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Aufgabe04/user.html b/Aufgabe04/user.html index 90cc212..0dffc44 100644 --- a/Aufgabe04/user.html +++ b/Aufgabe04/user.html @@ -8,9 +8,9 @@ <a href="./" accesskey="ü">Zur<em>ü</em>ck</a> <form action="http://www-in.fh-swf.de/fbp-cgi/showenv.pl" method="post"> <h1>User</h1> - <u>U</u>sername: <input type="text" placeholder="Username" name="username" - accesskey="u"><br> <u>P</u>assword: <input type="password" - placeholder="Password" name="password" accesskey="p"><br> + <label for="username"><u>U</u>sername:</label><input type="text" placeholder="Username" id="username" name="username" + accesskey="u"><br><label for="password"><u>P</u>assword:</label><input type="password" + placeholder="Password" id="password" name="password" accesskey="p"><br> <button type="submit" accesskey="a"><u>A</u>bschicken</button> <button type="reset" accesskey="z"><u>Z</u>urücksetzen</button> </form> |
