add content before css code example Example: ::before content /* Add a heart before links */ a::before { content: "♥"; }