Opening a hyperlink in a new tab in ASP.NET

后端 未结 6 1371
失恋的感觉
失恋的感觉 2021-01-01 18:50

I have a hyperlink on my page and I would like it to automatically open in a new tab when clicked, how would I do this? If this is not possible I will accept new window.

6条回答
  •  迷失自我
    2021-01-01 19:10

    add

     target="_blank" in your link. 
    

    If you want links on whole page to be open in new tab you can use.

    
     
     
    
    

提交回复
热议问题