Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 4

Can't get links to open in new tab

Hi All,

 

First of all, I am very, very, baby new to coding, so please be patient.

 

I am trying to insert target="_blank" so that my links will open in a new tab.  However, all this does in invalidate my code.  I have tried taking the following steps:

- Changing "" to ''

 

Also of note: I am hardlining in Divi's Visual Builder, and it is auto-inserting a rel="noopener noreferrer" when I at the target=_blank attribute.  I have tried changing "" to '', to no avail.

 

Any help would be greatly appreciated!

 

codepic.png

3 Replies
Ground Controller Lvl 1
Message 2 of 4

Re: Can't get links to open in new tab

Mind if I get a little bit more context? Perhaps a source file so I can reproduce?

Moderator
Message 3 of 4

Re: Can't get links to open in new tab

Hello @TheAnachronist 

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the Project Development Help and advice board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.

Greatly appreciated,

-MChevy422

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Commander Lvl 3
Message 4 of 4

Re: Can't get links to open in new tab

Hi @TheAnachronist ,

 

Double quotes or single quotes should not matter, neither should the rel attribute.

 

Could you indeed give a bit more context as @mattcavazos0 requested? Specifically:

  • What browser did you use?
  • Can you provide a bit more code?
  • How did you obtain the screenshot (from Developer Tools, your IDE, etc.)?

- Mark