HTML · Link and navigation attributes

target (attribute)

Where to open the link. Add rel="noopener noreferrer" with _blank.

Syntax
target="_blank"

Example

Try it

More in this group

as crossorigin download fetchpriority href hreflang imagesizes imagesrcset

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course