Difference between revisions of "Link with new window"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
a:focus:after { 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>

Revision as of 01:24, 23 May 2019

test