Computer Basics

Header/Footer Codes

Link to Home - Jan's Illustrated Computer Literacy 101


Most text editors and word processors have the ability to create headers and footers, that is, text that is shown at the top or bottom of every page of the document. This capacity is often used to number the pages or put the document's name and author on each page.

Some applications have you enter the header and footer text in the Page Setup dialog box, while others have a separate dialog just for the header and footer.

In the example below, from Win95's Notepad, the dialog box includes a textbox for the text that you want to print in the header and footer.

Page Setup dialog box

 
Page from header/footer code The & is used with certain letters as a code for things that are commonly wanted in the header or footer, unless the application has separate buttons or commands.
 
The page on the right shows how the header and footer text that is set above would look. Since there was no code for alignment entered for the footer, it was centered by default.
 
Here is a reference chart for commonly used codes:
&fInserts the name of file, or "Untitled" if the file is not named yet
&dCurrent date according to your computer
&tCurrent time according to your computer
&pPage number
&&Inserts an ampersand in your text
&lAligns the header/footer on the left
&cAligns the header/footer in the center
&rAligns the header/footer on the right

(Use your Back button to return to the page that sent you here or click on Basics to go back to the beginning of the Computer Basics lessons.)


Lessons Computer Basics Appendix


Teachers: Request permission to use this site with your class

Copyright © 1997-2009 Jan Smith   <jegs1@jegsworks.com>
All Rights Reserved

Icon: DownloadIcon: CDDownload lessons
Want to help?


~~  1 Cor. 10:31 ...whatever you do, do it all for the glory of God.  ~~


Last updated: 22 Jan 2008