<!DOCTYPE html>
<html>
<head>
<style>
p::after {
    content: " - Remember this";
    background-color: yellow;
    color: red;
    font-weight: bold;
}

</style>
</head>
<body>

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

<p><b>Note:</b> For this selector to work in IE8, a DOCTYPE must be declared, and you must use the old, single-colon CSS2 syntax (:after instead of ::after).</p>

</body>
</html>