HTML · Lesson 3 · 10 min
Links & Images
Connect pages with anchors and add pictures with img.
You will learn
- Create links with href
- Add images with alt text
- Open links in a new tab safely
The <a href="..."> tag links to another page. Always include alt on <img> so screen readers describe the picture.
External links
Add target="_blank" and rel="noopener noreferrer" when linking outside your site.
Edit HTML — live preview below
HTML
Live preview
Tip: Add a second link and another placeholder image.