You might want to explain what you are trying to do with the value. For example, I have the following CSS to display the link text in the "#content" element in my print stylesheet:
#content a:link:after, #content a:visited:after { content: " (" attr(href) ") "; font-size: 90%; } #content a[href^="/"]:after { content: " (http://example.com" attr(href) ") "; }
source share