Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
p:before {
    content: "Read this -";
}

</style>
</head>
<body>

<p>My name is Donald</p>
<p>I live in Ducksburg</p>

<b>Note:</b> For the content property to work in IE8, a DOCTYPE must be declared.

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy