×
×
Correct!
Insert the image "smiley.gif" before, and after any <p>element, using the ::before and ::after pseudo-elements.
<style>
p::before {
content: url('smiley.gif');
}
p::after {
content: url('smiley.gif');
}
</style>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
Not CorrectClick here to try again. Correct!<style> p::before {: url('smiley.gif'); } p::after { : url('smiley.gif'); } </style> <body> <p>This is a paragraph.</p> <p>This is a paragraph.</p> </body> |