Dino Geek, try to help you

How to create a link that opens a new window or tab in HTML?


You can create a link that opens a new window or tab in HTML by using the “target” attribute with the value “\_blank”. Here is how to do it:

```
Open example.com in new tab
```

In this code, `` is the start tag. We have two attributes:

- `href`: The URL of the link (where to go when the link is clicked). In our example, the URL is: “https://www.example.com“
- `target`: Specifies where to open the link. Here we’ve used “\_blank” which opens the linked document in a new window or tab.

`Open example.com in new tab` is the clickable text that will appear on your web page. The `` tag is the end tag.

Any text between the start tag and the end tag will be linked text. In our example, the linked text is “Open example.com in new tab”. The visitor will see this text, and clicking on it will open “https://www.example.com” in a new tab.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use