|
Posted by Gιrard Talbot on 03/19/06 09:06
xyZed wrote :
[snipped]
> I was writing all my markup in XHTML 1.0 strict but was bothered by
> the fact it wouldn't allow me to open affiliate sites in a separate
> window. I know it's potentially contentious, but I really think if
> someone clicks a link which goes to a different site I would prefer
> them to do so in a fresh window. Even as I type it, it sounds a bit
> dictatorial though ;-)
>
> Other than the opening of links with target="_blank" my pages
> validated with XHTML strict (apart from the useless affiliate
> javascript links which is another post) Should I seriously consider
> switching to strict?
Any new document should be declared with a strict DTD.
Unless you really know what you're doing, don't use XHTML 1.0; use HTML
4.01 rather.
Like others, I recommend you use the W3C markup validator and not
DreamWeaver's "validator".
If you really need to have some links open documents into a new window,
then, at least, follow usability and accessibility guidelines on this:
http://developer.mozilla.org/en/docs/DOM:window.open#Usability_issues
- one of them being to not use target="_blank"
- another one of them being to clearly identify links which will open a
new window or will re-use/recycle an already opened one.
GΓ©rard
--
remove blah to email me
Navigation:
[Reply to this message]
|