Link Explorer — HTML & CSS

Explore the world of hyperlinks: 20 levels of <a>, relative and absolute href, target and hover styles. An HTML and CSS navigation game for beginners.

What you learn in this game

The <a> tag is the link tag in HTML. The href attribute sets the destination page. Without href, the link won't work.

A relative path locates a file based on the current file's position. The notation ../ means "go up one folder", while ./ means "in this folder".

The target attribute sets where a link opens. The value _blank opens in a new tab, _self opens in the same tab (default).