English

Write an external CSS code snippet to set all four margins of the body tag with 5px each.

Advertisements

Question

Write an external CSS code snippet to set all four margins of the body tag with 5px each.

One Line Answer
Advertisements

Solution

body{
margin-top:5px; margin-right:5px; margin-left:5px; marginbottom:5px;
}
shaalaa.com
Cascading Style Sheets in HTML
  Is there an error in this question or solution?
2022-2023 (March) Sample

APPEARS IN

Advertisements
Share
Notifications



      Forgot password?
Use app×