다른 태그들의 경우, 각각의 태그 사이에 쉼표 및 컴마를 입력하지 않아도

CSS 스타일이 적용될 수 있다.

 

하지만, hr, td의 경우, 사이에 쉼포 및 컴마를 입력해야지만 CSS 스타일이

적용된다는 사실 참고!

<style>

  div {

   border-width: 5px;

   }

.box1 {

   border-style: solid;

   border-color: red;

   }

#container {

   width: 650px;

   margin: 0 auto;

   padding: 5px;

}

<style>

p.content {

   border: 1px solid #ccc;

   width: 300px;

   white-space: nowrap;

   overflow: hidden;

   text-overflow: ellipsis;

}

p.content {

   over-flow: visible;

}

</style>

 

<body>

   <p class="content"><h4> 귀리는.....................................</h4><p>

</body>

 

> 결론 : <hn> 코드가 <border> 코드보다 우선한다!

<css>

  font-size: 16px;

  font-weight: bold;

  width: 80px;

  float: left;

</css>

<css>

  font-size: 16px;

  font-weight: bold;

</css>

<style>

  ul li {

     list-style: none;

     margin-bottom: 15px;

</style>

<style>

 .mytitle {

  color: green;

  font-weight: bold;

</style>

+ Recent posts