How to use HTML to print header and footer on every printed page of a document

0 votes
Can HTML pages be printed with unique headers and footers on each page?

Regardless of the content, I would like to put the word "UNCLASSIFIED" in Red, Arial, size 16, on the top and bottom of every printed page.

To be clear, if the document was printed on five pages, the custom header and footer should appear on each page.

Does anyone know if HTML/CSS makes this possible?
Jul 12, 2022 in HTML by Ashwini
• 5,430 points
3,206 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers

How to GET background color of a particular portion on the html page

I used Gradient to set the color ...READ MORE

Jul 26, 2022 in HTML by Ashwini
• 5,430 points
1,097 views
0 votes
0 answers

CSS to make HTML page footer stay at bottom of the page with a minimum height, but not overlap the page

I have the following page, which contains ...READ MORE

Jul 19, 2022 in HTML by Tejashwini
• 3,820 points
812 views
0 votes
1 answer

How to perform a real time search and filter on a HTML table

Here is the best solution for searching ...READ MORE

answered Aug 4, 2022 in HTML by Deepak
• 980 points
2,605 views
0 votes
1 answer

How to align a <div> to the middle (horizontally/width) of the page?

Hello Kartik, position: absolute and then top:50% and left:50% places the top edge ...READ MORE

answered Apr 23, 2020 in HTML by Niroj
• 82,880 points
590 views
0 votes
0 answers

How to get the entire document HTML as a string?

Is there a way in javascript to ...READ MORE

Jun 3, 2022 in HTML by Tejashwini
• 3,820 points
296 views
0 votes
0 answers

How to use HTML script tags to code while they have a source link?

I have seen that  <script src="..."></script> does not allow ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 3,820 points
440 views
0 votes
0 answers
0 votes
1 answer

CSS to set A4 paper size

I looked into it further, and the ...READ MORE

answered Jun 21, 2022 in CSS by Edureka
• 12,690 points
19,005 views
0 votes
1 answer

CSS to make HTML page footer stay at bottom of the page with a minimum height, but not overlap the page

A simple solution is to make the ...READ MORE

answered Jun 21, 2022 in CSS by Edureka
• 12,690 points
3,610 views
0 votes
0 answers

@Media print css

I have my HTML page with this ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,620 points
288 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP