Câu 17: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
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?
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. $ ('input [name!="name"]’) .css ({ 'background-color' : ' #E0ECF8'}) ;
- B. ${'input [name="~name"] ') .css ({ 'background-color' : ' #E0ECF8' }) ;
- C. ${'input[name="*name"]').css({'background=color': #E0ECF8'}); — đáp án hiện tại
- D. $( 'input [name="$name"] ') .css ({ 'background-color' : '#E0ECF8'});
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.