Câu 24: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3
You are developing a web application in HTML. You have the following HTML code. You need to ensure that the div footer contains the text "All rights reserved".Which line of code should you use?
Nội dung câu hỏi
You are developing a web application in HTML. You have the following HTML code. You need to ensure that the div footer contains the text "All rights reserved".Which line of code should you use?
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. document("footer") = "All rights reserved";
- B. document("footer").innerHTML = "All rights reserved"; — đáp án hiện tại
- C. $(".footer").value = "All rights reserved";
- D. $("#footer").html("All rights reserved");
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.