WeCodeAcademy

Links in Depth

Links can point to other sites, to other pages of your own site, to a spot on the same page, or open an email.

Examplehtml
Open in editor »

target="_blank" opens a new tab. Add rel="noopener" with it for safety. #id jumps to the element with that id.

Quick check

How do you link to the element with id `bottom` on the same page?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.