Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> li:before{ content:"Élément de la liste"; } p:after{ content:" with string value."; } </style> </head> <body> <h2>Exemple de la propriété content</h2> <ul> <li>1</li> <li>2</li> <li>3</li> </ul> <p>Quelque paragraphe</p> </body> </html>