💭 How to Use HTML to Open a Link in a New Tab ============================================= !https://www.freecodecamp.org/news/how-to-use-html-to-open-link-in-new-tab/ Date: August 9, 2023 How to Use HTML to Open a Link in a New Tab Tabs are great, aren't they? They allow the multitasker in all of us to juggle a bunch of online tasks at the same time. Tabs are so common now that, when you click on a link, it's likely it'll ope... freeCodeCamp.org · freecodecamp.org [1] Most of the time when creating links in html you want to maintain the default behavior, as this is what users are going to expect, but sometimes your site behaves such that it does not fit, and it does something unexpected anyways. in this case you might want to make the default behavior to open the link in a new tab rather than relying on users to control click. Use this with restraint as this can make your site feel janky and do things that do not feel natural to the web. ``` html Check out freeCodeCamp [2]. ``` !!! note This post is a thought [3]. It's a short note that I make about someone else's content online #thoughts [4] References: [1]: https://www.freecodecamp.org/news/how-to-use-html-to-open-link-in-new-tab/ [2]: https://www.freecodecamp.org/ [3]: /thoughts/ [4]: /tags/thoughts/