Does adding target="_blank"
to the <a>
tag not work?
Write something like:
<a target="_blank" href="https://m.youtube.com">Youtube</a>
.
The target
attribute opens the link in a new tab, and one would assume in a browser window, if not already in one.
See the target
attribute of <a>
: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#target