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,

Add

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

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