You develop an HTML5 webpage. You have the following HTML markup:
You need to change the background color for all of the elements whose name attribute ends
with the word name.
Which code segment should you add to the webpage?

A.
$ (‘#name’).css ({ ‘background-color’ : ‘#E0ECF8’ });
B.
$ (‘input [name |=”name”; ] ‘ ) .css (( ‘background-color’ : ‘#E0ECF8’});
C.
$(‘input[name$=”name”]’). css{{‘background-color’ : ‘#E0ECF8’});
D.
$ (‘*name’ ) .css ({ ‘background-color’ : ‘ #E0ECF8’}) ;
https://www.w3schools.com/cssref/sel_attr_end.asp
0
0