You need to update the webpage

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?

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



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Enrique

Enrique

Answer is B.

banshee

banshee

I agree with Enrique, because in answer D there is ‘.container’, but ‘container’ in html is a id, not a class.

Alaeddin

Alaeddin

Its B
Coz D is Class .container ,there is no class its only ID .

brkyctn

brkyctn

Explanation/Reference:
Example:
CSS File:
ul {
border: 1px solid black;
}
Inline CSS: