Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to make links open in a new window

The short answer is: just add a target="_blank" attribute to your links (anchor tags).

<a href="https://www.thesitewizard.com/" target="_blank">thesitewizard.com</a>
Comment

a link in new window

<a href="https://www.thesitewizard.com/" rel="noopener noreferrer" target="_blank">thesitewizard.com</a>
<!-- This takes some security considerations into account as doing this can make your site vulnerable. See Link / Source for more info -->
Comment

PREVIOUS NEXT
Code Example
Html :: bootstrap progress bar with percentage 
Html :: full screen button in video tag html5 
Html :: go to id html 
Html :: html add vertical space below 
Html :: font awesome dropdown icon 
Html :: embed link in markdown 
Html :: youtube embed autoplay not working 
Html :: free html signature template 
Html :: faq html css 
Html :: insert svg file in html with animation 
Html :: react native text max rows 
Html :: how to collect input textbox in html 
Html :: html date selector 
Html :: contact form html code 
Html :: height() jquery com php 
Html :: placeholder textbox wpf 
Html :: split div into 2 columns 
Html :: html always show scrollbar 
Html :: nuxt-lazy-load ignore images 
Html :: image with url html 
Html :: how to add a button bootstrap 
Html :: svg as button 
Html :: how to shift div to right 
Html :: allow only number in input html 
Html :: link with no link html 
Html :: twig merge 
Html :: add image in html 
Html :: Horizontal Scrolling Bopostrap 
Html :: angular select ((ngmodel selected)) 
Html :: how to convert html to text in angular 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =