FSM Full Stack Masterclass
Platform under construction
HTML course badge

HTML Links & Media

Intermediate

Link Targets

Learn Link Targets with practical HTML examples for navigation, images, alt text, media behavior, metadata, accessibility, SEO and live practice.

Live code lab

Change the code and run the example.

Edit the HTML or CSS, then use Run to refresh the preview. The preview is isolated, so links and forms stay inside this practice area.

Mini assignment

Try this now.

  • Remove rel="noopener" once and then add it back.
  • Change the internal link so it opens normally in the same tab.
  • Rewrite the download link text so it names the file type.

Practice assignment

Do this before moving to the next lesson.

  1. Create one internal link, one protected external link and one download link.
  2. Explain why each target behavior is useful.
  3. Check that every target="_blank" link includes rel="noopener".

Try it yourself

Compare normal, external and download links

Live preview

Self-check

Before you continue, prove that you own this lesson.

Intermediate

Do not only read this page. Answer these questions out loud or write the answers in your own notes. If one answer feels vague, revisit the examples before moving on.

  1. Can you explain what problem this lesson solves in a real website?
  2. Can you identify the most important tag or attribute from this lesson?
  3. Can you name one accessibility mistake this lesson helps prevent?
  4. Can you write one good example and one weak example without copying the page?
  5. Can you explain when you would use this in production and when you would avoid it?