target="_blank" and the rel="noopener" security tip.
- Category: HTML Misc — part of the HTML Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "How to Open a Link in a New Tab" in one sentence, then back it up with a tiny example
<!-- How to Open a Link in a New Tab -->
<div>
<!-- see MDN for the full attribute/tag reference -->
</div>Tip
Quick recall: "How to Open a Link in a New Tab" — target="_blank" and the rel="noopener" security tip.