The label tag doesn't have the property 'width', so how should I control the width of a label tag?
Using CSS, of course...
label { display: block; width: 100px; }
The width attribute is deprecated, and CSS should always be used to control these kinds of presentational styles.
width
1.4m articles
1.4m replys
5 comments
57.0k users