CSS before 셀렉터

by JM note

HTML

<style>
p::before {
    content: "John: ";
}
</style>

<p>안녕</p>
<p>친구들</p>