Javascript: automatically open external links in a new window

Today's article is a little advice on the links to have a website conforms to w3c(1). This procedure is valid in the case we are using version “XHTML 1.0 Strict“, a powder’ dated, but still valid if declared tag in the “HTML” Site.

The web designer has several ways to set the aperture of a given link in a new page (or new tab) Part browser. The first to be implemented has been the insertion of’attributetarget='_blank'” within the reference tag to link “<a>“. This is the easiest way to open a link in a second window, but unfortunately does not respond to standard w3c. (more…)