What will happen,when the below web page is loaded?       JavaScript                                                - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
58 followers study24x7 10 May 2020 07:56 PM study24x7 study24x7

What will happen,when the below web page is loaded? <html>
     <head> <title>JavaScript</title> </head>
      <body...

See more

A

The body of the web page will not contain any text

B

The background color of the web page will be green

C

document.write("<h1> hello world </h1 >”); is a comment.

D

The body of the web page will contain the text “hello world” as an H1 heading

study24x7
Write a comment
  • prem shankar
  • A is the correct answer
    Related Questions
    500+   more Questions to answer
    Most Related Articles