<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>::before pseudo-element</title> <style type="text/css">p::before { background-color : lime ; content : "GENERATED CONTENT "} </style> <link rel="first" href="css3-modsel-1.html" title="Groups of selectors"> <link rel="prev" href="css3-modsel-40.html" title="::selection pseudo-element"> <link rel="next" href="css3-modsel-42.html" title="::after pseudo-element"> <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked"> <link rel="up" href="./index.html"> <link rel="top" href="../../index.html"> </head> <body> <p>You should see before this paragraph the words GENERATED CONTENT over green background</p> </body> </html>