The CSS selector a[target] makes sure that all links with a target attribute gets a yellow background: