You implement an application by using HTML5 and JavaScript. You create a webpage that contains the
following HTML:
The application must place a border on only the first UL element that is contained in the DIV element.
You need to update the webpage.
What should you do?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
Explanation:
Example:
CSS File:
ul {
border: 1px solid black;
}
Inline CSS:
<ul class=”container” style=”border: 1px solid black”>
The correct answer is B. I have tested
1
0
I agree.
1
0
It’s B
1
0
B is the correct answer
1
0
D.
in B script is inserted after DIV.
0
1
B: Yes the script has to be inserted after the DIV. otherwise, the script can be executed before the load of the div…
1
1
You are both wrong, B is the right answer. D would be right answer if it would be
#container > ul
instead of
.container > ul
0
1
Sorry, user “D” is correct, what he/she wrote is true.
1
0