summaryrefslogtreecommitdiffstats
path: root/Aufgabe04/product.html
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-04-14 15:18:00 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-04-14 15:18:00 +0200
commite965fd0feb82d941615ad7ab525ea20d7e651bd9 (patch)
tree5506469f0a51602c833483cdbf7def54aa118bdd /Aufgabe04/product.html
parenta8fb77955129d6f7b96c0acd144bc70e1cc675c1 (diff)
downloadInternetTechnologien-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/product.html')
-rw-r--r--Aufgabe04/product.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/Aufgabe04/product.html b/Aufgabe04/product.html
index 1bfb4d3..6060147 100644
--- a/Aufgabe04/product.html
+++ b/Aufgabe04/product.html
@@ -8,12 +8,12 @@
<a href="./" accesskey="ü">Zur<em>ü</em>ck</a>
<form action="http://www-in.fh-swf.de/fbp-cgi/showenv.pl" method="post">
<h1>Product</h1>
- <u>N</u>ame: <input type="text" placeholder="Name" name="name" accesskey="n"><br>
- <u>P</u>rice: <input type="text" placeholder="Price" name="price" accesskey="p"><br>
- <u>W</u>idth: <input type="text" placeholder="Width" name="width" accesskey="w"><br>
- <u>H</u>eight: <input type="text" placeholder="Height" name="height" accesskey="h"><br>
- <u>D</u>escription:
- <textarea placeholder="Description" name="desc" accesskey="d"></textarea>
+ <label for="name"><u>N</u>ame:</label><input type="text" placeholder="Name" id="name" name="name" accesskey="n"><br>
+ <label for="price"><u>P</u>rice:</label><input type="text" placeholder="Price" id="price" name="price" accesskey="p"><br>
+ <label for="width"><u>W</u>idth:</label><input type="text" placeholder="Width" id="width" name="width" accesskey="w"><br>
+ <label for="height"><u>H</u>eight:</label><input type="text" placeholder="Height" id="height" name="height" accesskey="h"><br>
+ <label for="desc"><u>D</u>escription:</label>
+ <textarea placeholder="Description" id="desc" name="desc" accesskey="d"></textarea>
<br>
<button type="submit" accesskey="a"><u>A</u>bschicken</button>
<button type="reset" accesskey="z"><u>Z</u>urücksetzen</button>