December 20, 2018

Add Text After a Particular HTML Element Using CSS

Use the :after selector to add text after the element. Please see below for an example. If you want to add text, such as ‘Click the email link at the bottom of the page for feedback,’ at the end of every div, you would simply add the following in the CSS.