Select Close Header and Footer or press Esc to exit. This action will create a section break and starts a new and fresh section on the Microsoft Word page you selected. Check one checkbox to include the total number of pages with the page number in your documents header or footer in Word for the web.
On the Insert tab in the Text group click.
Go to Insert Page Numbering. If youre not already in Editing view click Edit Document Edit in Word for the web. To the total number of pages. Go to Insert Page Number.