开发者

Is it possible/allowed to use an id with a label tag

can I use a label in an html form with and id or a class? Not sure how to interpret the HTML 4.0.1 specs on this matter, and the web is no use with a lot of differing opinions / uses开发者_JAVA技巧


Absolutely, yes, you can use IDs and classes on <label> elements. They're styleable through CSS just like any other HTML element.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜