Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>CSS content property</title> <style> p:after { content: " (" attr(data-url) ")"; } </style> </head> <body> <h2><code>Set content property using :after pseudo-elements</code></h2> <p data-url="http://www.way2tutorial.com">This is Paragraph, here after set content: </p> </body> </html>
  Preview Arrow