Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can you write HTML tags inside the JavaScript code as shown below? <script type=

ID: 3544059 • Letter: C

Question

Can you write HTML tags inside the JavaScript code as shown below?

<script type="text/javascript">

document.write("<h1>This is a heading</h1>");

document.write("<p>This is a paragraph.</p>");

document.write("<p>This is another paragraph.</p>");

</script>

a) No

b) Yes

c) Impossible

) Which feature is supported in MSIE 3.x?

a) split()

b) document.clear()

c) join()

d) charAt()

) How to speicfy the color of the hypertext links with JavaScript?

a) document.linkColor="#00FF00";

b) document.LColor="#00FF00";

c) document.LinkC="#00FF00";

d) document.hyperTextLink="#00FF00":

52) What will be the output of following JavaScript

Explanation / Answer

b

d

a

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote