Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> p::before { content: "Name -"; } .country::before { content: normal; } </style> </head> <body> <h2>Content property example</h2> <p>My name is John</p> <p class="country">I live in Canada</p> </body> </html>