It worked, Thanks
You maybe know that you can't validate as xhtml strict a page if you use
the target attribute for the a element in xhtml strict can't be recognized as possible value: in fact the XHTML strict DTD do not include this attribute.Codice:<a href="http://www.w3it.org" target="_blank">w3it.org</a>
There is a way in any case to fix the problem and achieve the result, creating a link that will be opened on another browser Page or Tab ( like the target="_blank" do ). The following code reproduce the same effect as the above link where is used the attribute target, but it is XHTML STRICT compatible:
w3it.org in effect, use this tip for any external linked page.Codice:<a href="http://www.w3it.org" onclick="window.open(this.href,'_blank');return false;">w3it.org</a>
It worked, Thanks
Hehe for lamer like me that want to do xhtml strict pages this kind of things are very very important!
Solution by axew3 is correct:
And now so, what's your best solution? I know there aren't more!
I have been building a website devoid of any java-script and want to keep it that way. What other meathods can I use to use the: target="_blank" in css or xhtml strict 1.1?
CSS3 Hyperlink Presentation Module.
The CSS 3 will solve all problems about strict DTD validations for web documents. Don't know, and i will check soon, what browsers are compliant with css3, if there are someone; would like to know what about many others standards and directives at the w3c, what's the state of development, what releases, when in case etc...
The new destination tab (window) is placed above the current tab (window) respectively.
The new destination tab (window) is placed behind the current tab (window) respectively.
The new destination tab (window) is placed above all other tabs (windows) respectively.
The new destination tab (window) is placed behind all other tabs (windows) respectively.
IT REALLY WORKS!*
*just for you pAvax
You were the first solution on a google search. Kudos your way ...