网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
AWebpageincludestheHTMLshowninthefollowingcodesegment.YouneedtowriteaJavaScriptfunctionthatwilldynamicallyformatinboldfaceallofthehyperlinksintherefspan.Whichcodesegmentshouldyouuse?()

A.$("#ref").filter("a[href]").bold();

B.$("ref").filter("a").css("bold");

C.$("a").css({fontWeight:"bold"});

D.$("#refa[href]").css({fontWeight:"bold"});


参考答案

更多 “ AWebpageincludestheHTMLshowninthefollowingcodesegment.YouneedtowriteaJavaScriptfunctionthatwilldynamicallyformatinboldfaceallofthehyperlinksintherefspan.Whichcodesegmentshouldyouuse?() A.$(#ref).filter(a[href]).bold();B.$(ref).filter(a).css(bold);C.$(a).css({fontWeight:bold});D.$(#refa[href]).css({fontWeight:bold}); ” 相关考题