Link Code
Open Link in New Window/Tab Code
Add target="_blank" to open a link in a new tab — paired with rel="noopener noreferrer" for security.
Live Tool
new-tab.html
Live
Preview
1How To Use
Follow these steps — no coding experience needed.
- Add your URL and textAny standard link details.
- Copy the codetarget="_blank" opens a new tab; rel="noopener noreferrer" keeps it secure.
- Use sparinglyReserve new-tab links for cases where leaving the current page would lose the visitor's progress.
2Example Output
What this code looks like once it's on a real page.
Read the full documentation ↗ (opens in a new tab).
3Browser Compatibility
| Browser | Support | Notes |
|---|---|---|
| Chrome | ✓ Supported | Full support |
| Firefox | ✓ Supported | Full support |
| Safari | ✓ Supported | Full support |
| Edge | ✓ Supported | Full support |
| Opera | ✓ Supported | Full support |
| Mobile browsers | ✓ Supported | Full support, iOS & Android |
Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.
→Related Pages
More tools that pair naturally with this one.