From http://www.w3schools.com (Copyright Refsnes Data)
The :before pseudo-element inserts some content before the content of an element.
The style below will play a sound before each occurrence of an <h1> element:
h1:before { content: url(beep.wav) } |
Use :before to
insert some content before the content of an element (Does not work in IE)
This example demonstrates how to use the :before pseudo-element to insert an
image before the content of an element.
From http://www.w3schools.com (Copyright Refsnes Data)