Answer:
To remove the space before and after the heading at the beginning of the document, you can follow these steps:
1. Place your cursor at the beginning of the document, just before the first character of the heading.
2. Press the Delete key to remove the space.
3. Repeat the same process at the end of the heading, just after the last character of the heading, and remove the space.
After removing the spaces, the heading should be directly adjacent to the beginning and end of the document text.