HTML CSS examples for CSS Selector:before
Using ::after, ::before selector in element style to add contents
<!doctype html> <html> <head> <title>My Web Page</title> <style> #aa:after {<!--from w ww. ja va 2 s . co m--> content:'world'; } </style> </head> <body> <span id="aa">hello</span> </body> </html>