How to remove the browser's printed page header and footer

Updated: 11/13/2018 by Computer Hope

When any web page from the Internet all Internet browsers automatically print the date, time, page title, or URL (Uniform Resource Locator) of that page on the header or footer. If you don't want this information displayed on the top or bottom of your printed pages, follow the steps below for the browser you're using. These options are also customizable and allow you to change what and where something is printed to keep something but remove other settings.

Microsoft Internet Explorer users

Internet Explorer icon

If you are using Microsoft Internet Explorer, follow these steps.

  1. Open Internet Explorer
  2. Press the Alt to get the drop-down menus and click File.
  3. Click Page Setup.
  4. Remove "&w&bPage &p of &P" from the header to not have a header printed and "&u&b&d" from the footer to not have a footer printed.

To change these settings or set a specific value, use the values in the below table you want in either the header or footer. The codes are case-sensitive.

Code Description Example
  Leaving blank will not print anything.  
&& Print an ampersand &
&b Separate text
Left text   Right text
&d Number only date 04/11/2009
&D Date in long format Saturday, April 11, 2009
&p Current page 1
&P Total printed pages 3
&t Time 9:12:25 AM
&T Time in 24-hour format 13:12:25 PM
&u Page URL https://www.computerhope.com/
&w Window title Computer Hope
Text Typing any other text, prints that text. Example text

Mozilla Firefox users

Firefox icon

If you are using Firefox, follow these steps.

  1. Open Mozilla Firefox
  2. Click File.
  3. Click Page Setup.
  4. Click the Margins & Headers/Footers tab.
  5. Change the top three and bottom three drop-down menus to "--blank--" to remove all the headers and footers.

To change these settings, select what you wanted to be printed from the drop-down menu.

Opera users

Opera icon

If you are using Opera, follow these steps.

  1. Open Opera
  2. Click File.
  3. Click Print Options.
  4. Uncheck "Print headers and footers."