Which code segment should you use?

You are developing an HTML page that includes the following code.
<h1 id=”header”>A Static Page</hl>
You need to modify the content of the HI element dynamically by using JavaScript.
Which code segment should you use?

You are developing an HTML page that includes the following code.
<h1 id=”header”>A Static Page</hl>
You need to modify the content of the HI element dynamically by using JavaScript.
Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 0

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