In typesetting, page margins (including page header and page footer) are considered the borders of a page of text, which separate the body of a page from the area outside of the regular text.
There are 4 main margins on a page:
top margin (or header) - the upper border of a page
bottom margin (or footer) - the lower border of a page
left margin - the left side border of a page
right margin - the right side border of a page
Additional margins can be used, beyond the usual four margins, to provide additional margin settings on a page.
In computer CSS styles
For webpages, page margins can be set by using CSS style sheet directives, such as: