Computer Science, asked by shrushti6463, 1 year ago

Write note on Page Margin.

Answers

Answered by yashgandhi74
0
Margin is a page layout term used in both print and Web publishing. In print, "margin" typically refers to page borders, while on the Web it describes the spacing between elements on a webpage. When you create a new document in a word processor, the default margins are usually defined as one inch on all sides.
Margin is also a CSS property used for creating space between HTML "block" elements on webpages. It can specify the top, right, bottom, and left margins around an object. Below are several examples of how margins can be specified in CSS.

margin: 12px; — 12 pixel margin around all sides of the element

margin: 4px 6px; — top and bottom margins: 4 pixels; right and left margins: 6 pixels

margin: 10px 15px 20px; 5px;— top: 10px, right: 15px, bottom: 20px, left: 5px margin

margin-right: 30px; — 30 pixel margin on the right side of the element

Margins can also be negative values, which may be used to overlay an object on another element within a webpage. In some cases, margins may also be defined as "auto." For example, the CSS declaration "margin: 0px auto;" is often used to center elements on webpages.

Answered by Kashmita333
6

Answer:

A margin is the area between the main content of a page and the page edges. ... When a page is justified the text is spread out to be flush with the left and right margins.

It's helpful for you.

Please mark me brainlist.

Please follow me.

Similar questions