多项选择题
下列使用jQuery为元素添加样式的代码,正确的有()
A.$(’p’).attr("class","highlight")
B.$(’p’).css("font-weight","bold")
C.$(’p’).css("width,height","100px,200px")
D.$(’p’).addClass("highlight")
点击查看答案

多项选择题
A.$(’p’).attr("class","highlight")
B.$(’p’).css("font-weight","bold")
C.$(’p’).css("width,height","100px,200px")
D.$(’p’).addClass("highlight")
微信扫一扫,加关注免费搜题