Two targets in one link: <a 2 targets> blah </a>?

Can I have two targets thusly:

<a  href="Principles.html" target="myIframe1" target="myIframe2">Principles</a>

I think your question is a little bit confusing but the basic answer is no as the browser would have no way of choosing.

It might be worth making sure that you are clear on the difference between anchor tags target properties and src properties.

The MSDN website is an invaluable resource to look things like this up.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Short answer: no.

What goal are you trying to accomplish? We might be able to help you do it.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.