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