70-480 Dumps

Thursday, 9 March 2017

Free 70-480 Training Exam Question - Dumps4download

Question No 14:

You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML.

<div>
Logo:<br>
<div id="logo">
</div>
</div>

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.)

A. document.getElementById("logo") .style.position = "relative";
B. document.getElementByld("logo").Style.top = "5px";
C. document.getElementById("logo").style.top = "-5px";
D. document.getElementById("logo").style.position = "absolute";

Answer: A,B Reference:
http://www.w3schools.com/cssref/pr_class_position.asp
http://www.w3schools.com/cssref/pr_pos_top.asp

No comments:

Post a Comment

Note: only a member of this blog may post a comment.