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

Explanation:
Example:
CSS File:
ul {
border: 1px solid black;
}
Inline CSS:
<ul class=”container” style=”border: 1px solid black”>



Leave a Reply 6

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

two × one =


puvpul

puvpul

The correct answer is B. I have tested

Boniface Donfack

Boniface Donfack

I agree.

S

S

B is the correct answer

Roman

Roman

D.
in B script is inserted after DIV.

D

D

B: Yes the script has to be inserted after the DIV. otherwise, the script can be executed before the load of the div…