HTML CSS examples for CSS Selector:after
Using ::after selector to insert text after the content of each <p> element
<!DOCTYPE html> <html> <head> <style> p::after {<!-- ww w.j a va2 s . c om--> content: " - added content"; } </style> </head> <body> <p>this is a test</p> <p>this is another test</p> </body> </html>