Tools: Lenovo laptop e460, Windows 10 system, word39.0.
1. Open a Word document with a header and footer, and you can see the position of the header and footer in the document.
2. Switch to Insert at Top, and then click the header or footer on the right.
3. Click the drop-down button to open the menu, and then select Delete Title.
4. The footer is the same. Click the drop-down button of the footer to open the menu, and then select Delete Footer.
5. After deleting the header and footer, the horizontal line will remain in the Word document. At this time, you can double-click the horizontal line to enter the editing state, then click Start-Style (Other)-Clear Format in turn, and finally cut to the page and footer to close the editing state, so that you can see that the horizontal line in the header and footer no longer exists.