View Full Version : Don't see text or enters

Feb 23rd, 2010, 11:10 PM
<form method="post" action="verwerk.php"/>
<select name="ingetal">
Kies een getal:<br>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option> <br>
Hoeveel wilt u inzetten?<br>
<input type="text" method="post" name="bedrag" />
<input type="submit" value="Verzend" />

Well i got this code, but when i upload it, and want to view it in my browser.
I only see the 2 forms, but no text or enters.

Feb 24th, 2010, 12:11 AM
You haven’t closed the select element. Also only optgroup and option elements can be children of the select element, nothing else. You’ll have to put the text “Kies een getal:” and the line break outside of the select, preferably into a label (http://htmldog.com/reference/htmltags/label/) which you attach to the select.

Feb 24th, 2010, 12:57 AM
Ok, thanks alot.