I just began learning HTML/CSS a few day ago and I was wondering why a lot of my code that I have been writing recently isn't working properly.
Why can't I simply use many selectors in order to apply all of my desired declarations?
header nav ul {
list-style: none;
text-decoration: none;
color: black;
}
<header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>