0

I need to apply a css style to the li element that contains the a element with attribute title equals to "Home"

<body>
    <ul>
        <li><a href="#" title="Home">1</a></li>
        <li><a href="#" class="class" >2</a></li>
        <li><a href="#"title="Home3">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
    </ul>
</body>

I've tried with this selector but it doesn't work

li<a[title="Home"]{display:none;}

What css i should apply? Thanks

Ultramito
  • 25
  • 3

0 Answers0