1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>:before pseudo-element
</title>
5 <style type=
"text/css">p:before
{ background-color : lime
; content : "GENERATED CONTENT "}
7 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
8 <link rel=
"prev" href=
"css3-modsel-41.html" title=
"::before pseudo-element">
9 <link rel=
"next" href=
"css3-modsel-42.html" title=
"::after pseudo-element">
10 <link rel=
"last" href=
"css3-modsel-d4.html" title=
"Dynamic updating of :first-child and :last-child">
11 <link rel=
"up" href=
"./index.html">
12 <link rel=
"top" href=
"../../index.html">
15 <p>You should see before this paragraph the words GENERATED CONTENT over green background
</p>