Links in HTML5—Examples

Table of Contents Links

Linking Block-level Elements

Come See our New Garden

our new garden

Our new garden is beautiful, lots of flowers and plants. Come see photos.

Placeholder Links

These links are placeholder links and would be the color purple for their named psudo-class.

Clearly, visited isn't going to work, as there is no URL to have visited.

Browsing Contexts

This link points to a location in the iframe document. test

New Global Attributes


This link has a context menu


The list below has three links, but only two should be visible. One is hidden with the hidden attribute.

Link Relationships

Here are a few links and their relationships to this document: