How to open link in new tab on html?

后端 未结 10 1999
孤独总比滥情好
孤独总比滥情好 2020-11-22 11:57

I\'m working on an HTML project, and I can\'t find out how to open a link in a new tab without javascript.

I already know that

10条回答
  •  臣服心动
    2020-11-22 12:40

    You could do it like this:

    Open
    

    Originally was:

    
    

    Also look at the following url on MDN for more information about security and privacy:

    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Security_and_privacy

    which in turn has a link to a good article named Target="_blank" - the most underestimated vulnerability ever:

    https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/

提交回复
热议问题