What is the correct way to open the submit form in a new window, the target is now deprecated
Usually I would
<form target="_blank">
But looking
http://www.w3schools.com/tags/tag_form.asp
I noticed that the target attribute is deprecated.
So what is the correct XHTML way to do such an action?
UPDATE: Thanks, I admit that opening new windows is usually not a good idea, but in this case it is a third party affiliated with our site that wants this effect and unfortunately so far I can offer them a good design if they agree with my advice it's a different matter :(
a source to share
The target attribute is not deprecated (W3Schools is wrong again (not W3C)), it just doesn't show up in Strict.
If you want to create a new window from a form use the target attribute (and the transient doctype).
However, the author has caused new windows to be considered malicious .
a source to share