For the below list, i want to style the parent list only like ( first parent ) i tried to use :
  ul < li {
    background-color: yellow;
  }
put this doesn't work , how can i do that ?
    <ul>
  <li>first parent <!-- style this -->
    <ul>
      <li>second</li>
      <li>second</li>
      <li>second</li>
      <li>second</li>
      <li>second</li>
    </ul>
  </li>
  <li>first parent</li> <!-- style this -->
  <li>first parent</li> <!-- style this -->
  <li>first parent</li> <!-- style this -->
  <li>first parent</li> <!-- style this -->
</ul>
 
     
     
     
     
    