WindAndWaves said:
Hi Fakirs
Apparently in HMTL strict, you are not allowed to use <A HREF="..."
target=_blank, can anyone tell me what to do instead of target=_blank?
TIA
- Nicolaas
That's the way it is. If you're not too bothered, you could always
validate the page as 'transitional'.
However.
When I need to open a new window and still validate as 'strict' what I
do is use a piece of Javascript to set the target to "_blank" for the
link in question.
For your visitors with js enabled (that's probably 99% of them) the next
page will open in a new window; for those that don't have js enabled,
the next page will open in the current window.
I also use js to write a 'warning' that the next page will open in a new
window -- important for AT users. The user won't see (or hear) the
warning if js is not enabled.
Not a 100% solution, of course, but 99% suits me.
regards.