The CSS selector a[target] makes sure that all links with a target attribute gets a yellow background:
Click the button to add a red border to all links in the document with a target attribute.
Note: The querySelectorAll() method is not supported in Internet Explorer 8 and earlier versions.