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