htmlcoding3456 htmlcoding3456 - 5 months ago 9
HTML Question

How do you add target"_blank" to this code?

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>

Answer

Try this:

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