How to open link in new tab on html?

后端 未结 10 1911
孤独总比滥情好
孤独总比滥情好 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:44

    Use one of these as per your requirements.

    Open the linked document in a new window or tab:

      Link 
    

    Open the linked document in the same frame as it was clicked (this is default):

      Link 
    

    Open the linked document in the parent frame:

      Link 
    

    Open the linked document in the full body of the window:

      Link 
    

    Open the linked document in a named frame:

      Link 
    

    See MDN

提交回复
热议问题