![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
My question therefore is: How do I do this in strict version? Or can I do it? |
#3
| |||
| |||
|
|
a href="my.html" target="-blank">My Site in new window</a When I submitted the html file for validation, it complained that the attribute target is not acceptable in strict. (Only in transitional) My question therefore is: How do I do this in strict version? Or can I do it? |
#4
| |||
| |||
|
|
lamp wrote: [target attribute not available in Strict] My question therefore is: How do I do this in strict version? Or can I do it? No, you just don't :-) If people want a new window to open, they can do that themselves. There is a lot of discussion about this on the web, so if you're interested in the pros and cons, just Google. If after you've read enough you still want to open new windows regardless of what the visitor wants, then there's 3 choices: - live with invalid code - go back to Transitional - use JavaScript instead Thanks Els, |
#5
| |||
| |||
|
|
I am not sure where to post my question. I hope somebody in this newsgroup could answer my question. I would like to use xhtml strict, so I am converting my html transitional to strict. I ran into a problem using <a> tag with a target attribute, like this: a href="my.html" target="-blank">My Site in new window</a When I submitted the html file for validation, it complained that the attribute target is not acceptable in strict. (Only in transitional) My question therefore is: How do I do this in strict version? Or can I do it? Thank you. |
![]() |
| Thread Tools | |
| Display Modes | |
| |