<!DOCTYPE html>
<!DOCTYPE>
<html>
    <head>
        <style type="text/css">
            img::before
            {
                content: "simple text before img";
            }
            img::after
            {
                content: "simple text after img";
            }
        </style>
    </head>
    <body>
        <img src="pepperImage.jpg" height="200pt" />
    </body>
</html>