Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

94
Visualizações
how to select all anchor tags without navbar anchor tags in a html page
<body>
<nav>
<ul>
<li> <a href="#"> lorem </li>
<li> <a href="#"> lorem </li>
</ul>
</nav>
<div>
<p>ot only five centuries, but also the leap into electronic typesetting, remaining essentially 
<a href ="#"> lorem </a></p>
</div>
<div>
<p>ot only five centuries, but also the leap into electronic typesetting, remaining essentially 
<a href ="#"> lorem </a></p>
</div>
<div>
<p>ot only five centuries, but also the leap into electronic typesetting, remaining essentially 
<a href ="#"> lorem </a></p>
</div>

i want to select and style all the anchor tag but only below the nav bar is it possible in htmt/css jquery or javascript

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It can be achieved by using the :not() pseudo selector.

The example here matches all a tags except the selectors specified inside the not selector.

    a:not(nav a) {
      background-color: orange;
    }
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda