Descendant and Child CSS Selectors



examples/csses/selectors.html
<html>
<head>
<title>The title</title>
<link rel="stylesheet" href="selectors.css" />
</head>
<body>
<h1>Main title</h1>

<ul>
  <li><a href="http://pm.org/">Perl Monger</a></li>
  <li><p><a href="http://perlmaven.com/">Perl Maven</a></p></li>
</ul>
<p><a href="http://perlmonks.com/">Perl Monks</a></p>

</body>
</html>

examples/csses/selectors.css
/*
a {
  background-color: red;
}


li a {
  background-color: yellow;
}
*/

/*
p  a {
  background-color: green;
}
*/


/*

li > a {
  background-color: green;
}

*/

List of selectors