FSM Full Stack Masterclass
Platform under construction
HTML course badge

HTML Links & Media

Intermediate

HTML Bookmarks

Learn HTML Bookmarks 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.

  • Change one section id and update the matching href.
  • Add a fourth bookmark link and section.
  • Run the preview and test whether the fragments still match.

Practice assignment

Do this before moving to the next lesson.

  1. Create a table of contents with at least three fragment links.
  2. Use unique readable ids for each target section.
  3. Explain why stable ids matter on published pages.

Try it yourself

Build a small table of contents

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?