Which is the property used to position the object in the left of the screen?

Minh Phượng

New member
Which is the property used to position the object in the left of the screen?
A. object.position = left
B. object = position.left
C. object.style.left
D. object.shiftleft
 
Answer: c
Explanation: The property object.style.left = distance in pixels or points sets distance from left edge of the screen. This property specifies the left position of the element including padding, scrollbar, border and margin. Whereas the setTimeout(function, duration) calls function after duration milliseconds from now.
 

Tìm kiếm

Back
Top