Estimated reading time: 2 minutes
today, we are talking about how to make print button in HTML to print elements’ contents and save them as PDF file by clicking on save as pdf in printer options. we are using HTML to writing HTML elements as div, p , article, etc, CSS to elements styling and JavaScript to script functions.
You can copy code by clicking on copy button below:
name | mobile |
---|---|
Mohammed Khaled | 123456789 |