+ 1
how to insert an image with a radio button in a form?
3 Answers
+ 2
Using the example from the lession:
<input type="radio" name="gender" value="male" />Male <br />
<input type="radio" name="gender" value="female" />Female <br />
You would input the <img src> tags on the last male and female of each like so.
<input type="radio" name="gender" value="male" /><img src="Male.jpg" /> <br />
<input type="radio" name="gender" value="female" /><img src="Female.jpg" /><br >
Just make sure your image is in the working directory.
0
how do u do this:|
- 3
Thanks...I also found the way