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 bit 'dated, but still valid if declared tag in the "HTML" Site. The web designer has different 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 inclusion of 'attribute "target='_blank'" inside the tag to refer to the links "<a>". This is the easiest way to open a link in a second window, but unfortunately does not respond to standard w3c. (more…)

By TheJoe, ago