<html>
<head>
<style>
a:after {content: " (" attr(href) ")";}
</style>
</head>
<body>
<h1>The attr() Function</h1>
<p>Insert the value of the href attribute in parenthesis after each link:</p>
<p><a href="../index.html">Visit W3Schools</a></p>
<p><a href="../html/index.html">Visit W3Schools' HTML tutorial</a></p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_func_attr by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 18:06:01 GMT -->
</html>