I am learning later and earlier but honestly I don’t find it meaningful because the examples given are very simple.

HTML

<p class="texto">
    CSS
</p>    

CSS

.texto::before{
    content:"aprendiendo";
    background: cyan;
}
.texto::after{
content:" y html" ;
background: green;
}

Get out

APRENDIENDO CSS Y HTML

juanse is a new partner in this site. Be careful when asking for explanations, comments and replies. Check out our Code of Conduct.

2.