Removing 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 will automatically print the date, time, page title, or URL of that page on the header or footer. If you do not want to have 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 if you want to keep something but remove other settings.

Microsoft Internet Explorer users

Internet Explorer

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

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

If you want to change these settings, or only want to print 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
&w Window title Computer Hope
Text Typing any other text, prints that text. Example text

Mozilla Firefox users


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--" if you want to remove all the headers and footers.

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

Opera users


If you are using Opera, follow these steps.

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

Additional information