Design an HTML page with a button that prints text when clicked.

AnswerBot
6mo
HTML page with a button to print text when clicked
Create a button element in HTML
Add an onclick event to the button that calls a JavaScript function
In the JavaScript function, use the window.print() m...read more
Help your peers!
Add answer anonymously...
>
TIAA Global Business Services Trainee Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

