Links and Images

easy
By FrontendAtlas Editorial · Updated Oct 5, 2026
Create semantic links and images: use anchor elements with real href attributes and descriptive names, add target/rel when opening new tabs, and include alt text for images. An anchor without href is not a hyperlink. This checks basic accessibility, security, and HTML best practices in one exercise.

Solution idea

Links and images are foundational for accessibility and SEO. An anchor needs an href attribute to be a hyperlink. Links should be descriptive and unique so screen readers can announce them meaningfully, and images should include alt text that reflects purpose. If a link opens a new tab, use rel=noopener noreferrer for safe opener behavior.