Skip to content

css 가 작동하지 않습니다. #123

@chung0906

Description

@chung0906

증상

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">

    <style>

      header:{
        border-bottom:1px solid black;
      }

    </style>

  </head>
  <body>

   <header>
     <h1><a href="http://125.140.217.115/html/index.html">JavaScript</a></h1>
   </header>

<nav>
     <ol>
       <li><a href="http://125.140.217.115/html/1.html">JavaScript란?</a></li>
       <li><a href="http://125.140.217.115/html/2.html">변수와 상수</a></li>
       <li><a href="http://125.140.217.115/html/3.html">연산자</a></li>
    </ol>
</nav>

  <article>
    <h2>변수와 상수</h2>
     변수란
         <ul>
           <li>변하는 값</li>
           <li>x=10일 때 왼쪽항인 x는 오른쪽 항인 10에 따라 다른 값이 지정된다.</li>
         </ul>
     상수란
          <ul>
            <li>변하지 않는 값</li>
            <li>x=10일 때 오른쪽 항인 10이 상수가 된다</li>
          </ul>
  </article>

  </body>
</html>

위 코드에서 style 코드가 작동하지 않습니다.

환경

윈도우10 크롬입니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions