thejoker101
03-19-2003, 04:01 PM
I get an error in the w3c's markup validator when I use target="_new" in links. How should I do this then, such that it would be valid html 4.01 strict?
|
Click to See Complete Forum and Search --> : html 4.01 strict and targets thejoker101 03-19-2003, 04:01 PM I get an error in the w3c's markup validator when I use target="_new" in links. How should I do this then, such that it would be valid html 4.01 strict? khalidali63 03-19-2003, 04:21 PM there is no attribute value as "_new" I take it you want to open the link in a new window for that use target="_blank" Cheers Khalid thejoker101 03-19-2003, 04:32 PM They do the same thing. I think _new works because it's searching for a window named _new, but doesn't find one so it opens a new one. It doesn't matter, _blank is what I should be using, so I changed it to that. But the point is that the error is coming on the fact that I have <A ... TARGET="_blank"> the target part, not the _blank part. I think the strict doctype doesn't allow Targets, but that's just the only thing i can figure. So if that is the case, how do i open up links in new windows, I mean aside from using javascript. thanks. nkaisare 03-19-2003, 04:39 PM You may not use target in HTML 4.01 Strict. Use Frameset DTD instead <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> The reason its deprecated is probably because W3C wants to discourage webdevelopers from opening new windows on visitors machines??? :cool: webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |