That's my first post here, so I hope I don't make any mistake. My name is Le Sage, & I'm the webmaster of the little html5.fr & its blog.
The main page of html5.fr is supposed to be HTML 5, but I recently added a search bar using Google, & it stopped validating for the following reason:
html5.validator.nu wrote:Error: Attribute target not allowed on element form at this point.
the incriminated webpage & the validation result (by the validator of Henri Sivonen).
Here seems to be the problem:
- Code: Select all
<form method="get" action="http://www.google.fr/search" target="_blank">
...
</form>
The target attribute doesn't seem to be welcome here. Though, I had a look at the HTML 4.01 & Web Forms 2.0 specs & didn't see anything that would forbid this.
Any idea where it would come from?
If it's not the appropriate place for such a question, please forgive me. If you need any detail, I'm here to answer.
Thanks in advance!