Difference between revisions of "Link with new window"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<html> <style> a:focus:after[title$=”new window”] { content: attr(title); } </style> <body> <a href="#" title="opens in a new window"> test </a> </body> </html>")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
a:focus:after[title$=”new window”] { content: attr(title); }
+
a[title*="new window"]:focus:after { content: attr(title); }
 
</style>
 
</style>
 
<body>
 
<body>
<a href="#" title="opens in a new window"> test </a>
+
<a href="#" title=" (opens in a new window)"> test </a>
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 01:29, 23 May 2019

test