I need to change the content of a link, but I can only change the CSS of the page I'm working on. I tried using the content property in :before and :after pseudo elements. But I didn't find a way to replace the value with the new one. I was able only to append the content to the value specified between tags, at the beginning and at the end, instead of completely replacing it like I need.
a:before {
content: 'ciao 1'
}
a:after {
content: 'ciao 2'
}
<a href="https://www.w3schools.com/css/">CSS Tutorial</a>
What can I do to actually "replace" the content of the link tag?