Opening a new tab to read a PDF file

后端 未结 9 1044
广开言路
广开言路 2021-02-06 21:39

I am probably missing something simple here, however i will ask anyway. I have made a link to open up a PDF file, however it opens up in the current tab rather than a new one. W

9条回答
  •  失恋的感觉
    2021-02-06 22:33

    Just use target on your tag

    Read more
    

    The target attribute specifies where to open the link. Using "_blank" will make your browser to open a new window/tab.

    You could also use target in many ways. See http://www.w3schools.com/tags/att_a_target.asp

提交回复
热议问题