01-selectors/pseudo-class-target.html (excerpt)
<form method="post" action="#">
<h1>Join the Cool Kids Club</h1>
<p>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</p>
<p>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</p>
<fieldset>
<legend>Receive a digest?</legend>
<p>
<input type="radio" id="daily" name="digest">
<label for="daily" class="label-radio">Daily</label>
<input type="radio" id="weekly" name="digest">
<label for="weekly" class="label-radio">Weekly</label>
</p>
</fieldset>
<button type="submit">Buy Tickets!</button>
</form>
IntheHTML,labelsassociatedwitharadiotypehavea.label-radioclass.We
canusethe:not()pseudo-class:totargetthoseelementswithoutalabel-radio
class,asshowninFigure1.28:
Selectors 43