Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> li:before{ content:"List item"; } p:after{ content:" with string value."; } </style> </head> <body> <h2>Пример свойства content</h2> <ul> <li>1</li> <li>2</li> <li>3</li> </ul> <p>Какой-либо параграф.</p> </body> </html>