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

130
Visualizações
anchor tag target iframe not working and link opening in new tab

On click of the link, the link is opening on a new tab on the browser and not in iframe and iframe is a blank box

<iframe name="iframenew" height="300px" width="100%" title="Iframe Example"></iframe>
<p><a href="https://alight.com" target="iframenew">AVA</a></p>

I want the link to open in the iframe itself

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

0

Are you refers to the message alight.com refused to connect.?

Some websites disable embedding iframe, you could check using X-Frame-Options

When attempting to embed an iFrame into your course, you may occasionally run into some errors such as seeing a blank white box or error notification. This is because not all websites can be embedded.

<iframe name="iframenew" height="300px" width="100%" title="Iframe Example"></iframe>
<p><a href="https://alight.com" target="iframenew">AVA</a></p>

There is nothing wrong with the code, you could see below, I switch the link to Wikipedia main page, it will work find.

<iframe name="iframenew" height="300px" width="100%" title="Iframe Example"></iframe>
<p><a href="https://en.wikipedia.org/wiki/Main_Page" target="iframenew">AVA</a></p>

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