To print url after a link in CSS you can use the following snippet.
When printing the page each link has its ahref target appended surrounded by Parentheses.

Sample CSS

 @media print  
 {  
   a:after {  
     content: " (" attr(href) ") ";  
   }  
}


One thought on “How to print url after a link in CSS”

Leave a Reply