XHTML valid target

This version uses jQuery which I use on a lot of projects.
The simplest use without downloading anything is this.
Before your closing head tag,


To make a link open in a new tab, just add class=”external” to the link.

New links with that class will now open in a new browser window or tab and be XHTML strict compliant.
Example link