Insert page number on top and keep the header năm 2024

The header is a section of the document that appears in the top margin, while the footer is a section of the document that appears in the bottom margin. Headers and footers generally contain additional information such as page numbers, dates, an author's name, and footnotes, which can help keep longer documents organized and make them easier to read. Text entered in the header or footer will appear on each page of the document.

Optional: Download our practice document.

To create a header or footer:

In our example, we want to display the author's name at the top of each page, so we'll place it in the header.

  1. Double-click anywhere on the top or bottom margin of your document. In our example, we'll double-click the top margin.
    Insert page number on top and keep the header năm 2024
    Double-clicking on the header
  2. The header or footer will open, and a Design tab will appear on the right side of the Ribbon. The insertion point will appear in the header or footer.
    Insert page number on top and keep the header năm 2024
    The open header
  3. Type the desired information into the header or footer. In our example, we'll type the author's name.
    Insert page number on top and keep the header năm 2024
    Typing text into a header
  4. When you're finished, click Close Header and Footer. Alternatively, you can press the Esc key.
    Insert page number on top and keep the header năm 2024
    Clicking Close Header and Footer
  5. The header or footer text will appear.
    Insert page number on top and keep the header năm 2024
    The finished header

To insert a preset header or footer:

Word has a variety of preset headers and footers you can use to enhance your document's design and layout. In our example, we'll add a preset header to our document.

  1. Select the Insert tab, then click the Header or Footer command. In our example, we'll click the Header command.
    Insert page number on top and keep the header năm 2024
    Clicking the Header command
  2. In the menu that appears, select the desired preset header or footer. In our example, we'll select a header.
    Insert page number on top and keep the header năm 2024
    Selecting a preset header
  3. The header or footer will appear. Preset headers and footers contain placeholders for information such as the title or date; they are known as Content Control fields.
    Insert page number on top and keep the header năm 2024
    Content Control fields
  4. To edit a Content Control field, click it and type the desired information.
    Insert page number on top and keep the header năm 2024
    Editing a Content Control field
  5. When you're finished, click Close Header and Footer. Alternatively, you can press the Esc key.
    Insert page number on top and keep the header năm 2024
    Closing the Header and Footer

If you want to delete a Content Control field, right-click it and select Remove Content Control from the menu that appears.

Insert page number on top and keep the header năm 2024
Removing a Content Control field

Editing headers and footers

After you close the header or footer, it will still be visible, but it will be locked. Simply double-click a header or footer to unlock it, which will allow you to edit it.

Insert page number on top and keep the header năm 2024
Opening a header

Design tab options

When your document's header and footer are unlocked, the Design tab will appear on the right side of the Ribbon, giving you various editing options:

  • Hide the first-page header and footer: For some documents, you may not want the first page to show the header and footer, like if you have a cover page and want to start the page numbering on the second page. If you want to hide the first page header and footer, check the box next to Different First Page.
    Insert page number on top and keep the header năm 2024
    Hiding the first page header and footer
  • Remove the header: If you want to remove all information contained in the header, click the Header command and select Remove Header from the menu that appears.
    Insert page number on top and keep the header năm 2024
    Removing the header
  • Remove the footer: If you want to remove all information contained in the footer, click the Footer command and select Remove Footer from the menu that appears.
    Insert page number on top and keep the header năm 2024
    Removing the footer
  • Additional options: With the Page Number command and the commands available in the Insert group, you can add page numbers, the date and time, pictures, and more to your header or footer.
    Insert page number on top and keep the header năm 2024
    Insert group on the Ribbon

To insert the date or time into a header or footer:

Sometimes it's helpful to include the date or time in the header or footer. For example, you may want your document to show the date when it was created.

On the other hand, you may want to show the date when it was printed, which you can do by setting it to update automatically. This is useful if you frequently update and print a document because you'll always be able to tell which version is the most recent.

  1. Double-click anywhere on the header or footer to unlock it. Place the insertion point where you want the date or time to appear. In our example, we'll place the insertion point on the line below the author's name.
    Insert page number on top and keep the header năm 2024
    Placing the insertion point in the unlocked header
  2. The Design tab will appear. Click the Date & Time command.
    Insert page number on top and keep the header năm 2024
    Clicking the Date & Time command
  3. The Date and Time dialog box will appear. Select the desired date or time format.
  4. Check the box next to Update Automatically if you want the date to change every time you open the document. If you don't want the date to change, leave this option unchecked.
  5. Click OK.
    Insert page number on top and keep the header năm 2024
    Selecting a date option
  6. The date will appear in the header.
    Insert page number on top and keep the header năm 2024
    The date in the header

Adding page numbers

Word can automatically label each page with a page number and place it in a header, footer, or side margin. When you need to number some pages differently, Word allows you to restart page numbering on any page of your document. You can do this by inserting a section break and then selecting the number you want to restart the numbering with. In our example, we'll restart the page numbering for our document's Works Cited section.

How do I insert a Page Number without losing the header?

Go to Header & Footer > Field. In the Field names list, select Page, and then select OK. Go to Header & Footer > Page Number > Format Page Numbers, select the format you want, and then select OK. Go to Header & Footer > Page Number > Page Number, choose the alignment you want, and select OK.

Why does my running head disappear when I add page numbers?

The only reason your 'running head' is disappearing is because you're using the 'top of page' page numbering option to apply the numbering. Select the position you want the page # to appear at abd use the 'current position' page numbering option instead.

How do I insert a Page Number and running header in Word?

Here is how to do it:.

Go to the Insert menu in the Word ribbon. Select Header from the Header & Footer section..

Select Blank Header, the first option..

Click on Page Number on the top left. ... .

Type the title of the paper in all caps. ... .

After typing the title, place the cursor immediately to the left of the page number..