CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 34: 70-480: MCSD Programming in HTML5 with JavaScript and CSS3

You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML. Logo: You need to move the logo element lower on the page by five pixels. Which lines of code should you use? (Each correct answer presents part of the solution. Choose two.)

Nội dung câu hỏi

You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML. Logo: You need to move the logo element lower on the page by five pixels. Which lines of code should you use? (Each correct answer presents part of the solution. Choose two.)

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.

  1. A. document.getElementById("logo") .style.position = "relative"; — đáp án hiện tại
  2. B. document.getElementByld("logo").Style.top = "5px"; — đáp án hiện tại
  3. C. document.getElementById("logo").style.top = "-5px";
  4. D. document.getElementById("logo").style.position = "absolute";

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.

Câu hỏi liền kề