body


Standard HTML tag that defines the document body. 

The following illustrations show: 

  1. The body style before applying CSS changes;. 
  2. The body style after the background-color property has been changed to peachpuff.
     

Default CSS

Modified CSS

body {
 background-color: #f2f2f2;
 margin: 0;
}

body {
 background-color: peachpuff;
 margin: 0;
}

The following illustrations show: 

  1. The body style before applying CSS changes. 
  2. The body style after the background-image property has been changed to https://dyzz9obi78pm5.cloudfront.net/app/image/id/5be1c1b1ec161cdf731977d2/n/portland-cityscape.jpg.
     

Default CSS

Modified CSS

body {
 background-color: #f2f2f2;
 margin: 0;
}



 

body {
 background-color: #f2f2f2;
 margin: 0;
 background-image:
url("https://dyzz9obi78pm5.cloudfront.net/app/image/id
/5be1c1b1ec161cdf731977d2/n/portland-cityscape.jpg");
}