Answer & Solution
Answer: Option Option C
Solution:
You can add a print button to an HTML page using JavaScript by using a button (<button>
) element. This element allows you to create interactive buttons with event handlers like onclick, making it suitable for triggering actions such as printing when the button is clicked. While other HTML elements like <a>
, <div>
, or <img>
can also be used for creating interactive elements, the <button>
element is specifically designed for button functionality and is commonly used for implementing buttons with JavaScript actions.