×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

What is the use of this JavaScript statement?

16. What is the use of this JavaScript statement?

<button onclick="window.print()">Submit</button>
  1. It will write "Submit" on the current Window
  2. It will print the content of the current page
  3. It will write the content of the current page in the browser’s console
  4. None of the above

Answer: B) It will print the content of the current page

Explanation:

The window.print() method prints the content of the current page.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.