Supose you want to make sure that its link on your websites open in the same browser window not a new one, in HTML you would have inside every a tag to define target='_self' for every link does CSS has any such property for me to avoid all thia trouble?
Can I define the target property of <a> with CSS?
Collapse
X
-
Tags: None
-
well, usually this is default behaviour (at least when using relative paths, I think). further, target is not allowed in the strict doctype html variants.
and of course you can tweak you favourite browser to open the link target where you want ;)
nope, CSS deals with layout (how the browser displays your page)
Comment