This tutorial will show how to add text before or after any element using css with an example.
1. Add this to the css part:
h1#example::before, h1#example::after {
content: “--::--::--”;
}
2. Enter the following changes to the body of the document:
<h1 id=’example’>Albert Einstein</h1>
Set as favorite
Bookmark
Email This
Hits: 609
Comments (2)










(btw i knew it works thats why shared it here 