---
tutorial: "https://www.youtube.com/watch?v=ZzXz6YMHRGs"
---

# `06` New Window

On the `index.html` file there is an anchor `<a>` taking you to `"https://google.com"`:

```html
<a href="http://google.com">Click me to search on google </a>
```

What property should we add to this `<a>` anchor, if we wanted it to open in a **new tab** instead of redirecting the user?

## 📝 Instructions:

1. Search how to make the anchor `<a>` open the link in a new window.

## 💡 Hints:

+ Your code should be something like this:

```md
<a href="url" target="_blank">--Your text--</a> 
```

+ You have to use the `target` property.

+ Read more about how to make an anchor open in a new tab or window here: [https://www.freecodecamp.org/news/how-to-use-html-to-open-link-in-new-tab/](https://www.freecodecamp.org/news/how-to-use-html-to-open-link-in-new-tab/)
