# What mean the symbol "\>" on CSS? like nav \> ul \>li {stuff}}

**URL:** <https://forum.freecodecamp.org/t/what-mean-the-symbol-on-css-like-nav-ul-li-stuff/524767>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [July 4, 2022, 4:36am UTC](https://forum.freecodecamp.org/t/what-mean-the-symbol-on-css-like-nav-ul-li-stuff/524767 "2022-07-04T04:36:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdcorrales27](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jdcorrales27/32/48387_2.png) [@jdcorrales27](https://forum.freecodecamp.org/u/jdcorrales27)\
**Post date:** [July 4, 2022, 4:36am UTC](https://forum.freecodecamp.org/t/what-mean-the-symbol-on-css-like-nav-ul-li-stuff/524767/1 "2022-07-04T04:36:38Z")

</div>

Hello dears!

I’m on lesson 44 of Learn Accessibility. I completed the test but many lessons ago I have the same question.

What’s the difference between:

```auto
nav ul il{
   color: #dfdfe2;
   margin: 0 0.2rem;
   padding: 0.2rem;
   display: block;
}

```

and

```auto
nav > ul > il{
   color: #dfdfe2;
   margin: 0 0.2rem;
   padding: 0.2rem;
   display: block;
}

```

And how can I used correctly. Thank you

---

<div class="post-metadata">

**Author:** ![jdcorrales27](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jdcorrales27/32/48387_2.png) [@jdcorrales27](https://forum.freecodecamp.org/u/jdcorrales27)\
**Post date:** [July 4, 2022, 5:12am UTC](https://forum.freecodecamp.org/t/what-mean-the-symbol-on-css-like-nav-ul-li-stuff/524767/2 "2022-07-04T05:12:37Z")

</div>

I finded my own answer:

> **[Child combinator - CSS: Cascading Style Sheets | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/Child_combinator)**
>
> The child combinator (\>) is placed between two CSS selectors. It matches only those elements matched by the second selector that are the direct children of elements matched by the first.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [January 2, 2023, 5:13pm UTC](https://forum.freecodecamp.org/t/what-mean-the-symbol-on-css-like-nav-ul-li-stuff/524767/3 "2023-01-02T17:13:32Z")

</div>

Closed on January 2, 2023, 5:13pm UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
