View Single Post
Old 03-03-2013, 09:31 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,465
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
You left out the id attributes in the input and textarea fields that the for attributes in the label tags are referring to.


Code:
<label for="name" class="fontcolor">Your Name*</label>
<br><br>

<input type="text" id="name" placeholder="John Doe" required />
<br><br>
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Users who have thanked felgall for this post:
kyhryt (03-04-2013)