[SOLVED] How do you add target="_blank" to this code?

My Code: https://jsfiddle.net/uao4gfow/1/

How do you add target=“_blank” to this code, I can’t get it to work.

<a
   href="abc.html"
   onMouseOver="this.style.color='#0F0'"
   onMouseOut="this.style.color='#00F'"
>Text</a>

target"_blank"

should be target="_blank" . Did you include the =?

I was missing that, thank you.

Only when using HTML 3.2 - that attribute was removed from HTML in 1997 and should no longer be used as all it does is to remove one of the three choices that some of your visitors have (the ones who don’t know how to configure their browser properly to open links the way they want it to).

2 Likes

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