0

how to put same two attributes to a HTML element?? example:

target="MYIFRAME" target="_blank"

"myiframe" is my IFRAME name

2
  • That would not be valid html, how can you have two different targets? It wouldnt know which to use. Commented Mar 21, 2012 at 18:18
  • 1
    What are you trying to achieve? Tell us your original plan, and maybe we can help. Commented Mar 21, 2012 at 18:21

2 Answers 2

1

It is not possible to put two identical attributes on the same element.

Sign up to request clarification or add additional context in comments.

Comments

0

This is not permitted. You cannot have two targets for one element. You can simulate it via javascript, where the JS code opens one target, and the target attribute takes care of the other one.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.