A Web page includes the HTML shown in the following code segment. <img src="https://nimg.ppkao.com/2018-07/lina/2018072616443171300.jpg?sign=ed3e1e32a75e088dbf01ea11c66ac1de&t=62d2f16a" /><br /> You need to write a JavaScript function that will dynamically format in boldface all of the hyperlinks in the ref span.Which code segment should you use?()
A、$("#ref").filter("a[href]").bold();
B、$("ref").filter("a").css("bold");
C、$("a").css({fontWeight:"bold"});
D、$("#ref a[href]").css({fontWeight:"bold"});