How to set the id of a 'label' HTML element?

Posted by Mallika Iyer on Stack Overflow See other posts from Stack Overflow or by Mallika Iyer
Published on 2010-04-27T22:20:43Z Indexed on 2010/04/27 22:23 UTC
Read the original article Hit count: 159

Filed under:
|
|
|

If I have the following:

             <label for="deletetxt">Delete This Text</label>

What is the 'for' attribute here? Is that the id?

Assuming that I cannot set a class for the label element to style the label element, how do i set css for this element?

© Stack Overflow or respective owner

Related posts about css

Related posts about html