필굿스토리

 

https://www.freecodecamp.org/learn/responsive-web-design/basic-css/style-the-html-body-element

 

https://www.freecodecamp.org/learn/responsive-web-design/basic-css/style-the-html-body-element

 

www.freecodecamp.org

 

Style the HTML Body Element

Now let's start fresh and talk about CSS inheritance.

Every HTML page has a body element.


We can prove that the body element exists here by giving it a background-color of black.

We can do this by adding the following to our style element:

body { background-color: black; }

 

<style>
body {
  background-color: black;
}
</style>

공유하기

facebook twitter kakaoTalk kakaostory naver band