Search
 
SCRIPT & CODE EXAMPLE
 

HTML

button open link in new tab

 <button class="btn btn-success" onclick=" window.open('http://google.com','_blank')"> Google</button>
Comment

open new tab when clicking link html

<!-- add target="_blank" to open new tab when link is clicked [in HTML]-->
<a href="YourLink" target="_blank">YourText</a>
Comment

PREVIOUS NEXT
Code Example
Html :: html video hide controls 
Html :: html text justify 
Html :: import font awesome 
Html :: open link in new tab html 
Html :: laravel blade remove all html tags 
Html :: input number maxlength 
Html :: prevent webpage zooming in mobile 
Html :: svg circle 
Html :: link to call a phone number 
Html :: google web fonts open sans 
Html :: font awesome icons 
Html :: html space between characters 
Html :: iframe pdf html5 
Html :: html javascript input numbers only 
Html :: change input required text html 
Html :: div contenteditable onchange angular 
Html :: meta description 
Html :: english alphabet 
Html :: index for in angular 
Html :: web mdc cdn 
Html :: dont allow user to drag image css 
Html :: search icon html code 
Html :: bootstrap href button 
Html :: how to get value of textbox in javascript from html 
Html :: how to make an image with a link html 
Html :: ion-datetime change event 
Html :: branch icon font awesome 
Html :: meta tag viewport 
Html :: calculator template html css 
Html :: tumbnail html 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =