Microsoft Exam Questions

Which of the following lines of code should you use to complete your solution?

You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com. You make use of CSS3 and HTML5 for development purposes.
You are in the process of creating a web page that contains a <div> tag. The ID of the <div> tag
has been set to validate. You are then instructed to make sure that when the page is rendered, the
contents of the <div> tag are shown on the same line as the content surrounding it.
You start by writing the following line of code:
document.getElementById(“validate”) .
Which of the following lines of code should you use to complete your solution?

A.
style.display = “inline”;

B.
style.display = “online”;

C.
show.style = “parallel”;

D.
show.style = “perpendicular”;

Explanation: