CSS - Before

PHOTO EMBED

Sat Oct 24 2020 21:21:10 GMT+0000 (Coordinated Universal Time)

Saved by @Carouan #css #before

<!DOCTYPE html>
<html>
<head>
<style>
p::before { 
  content: "Read this -";
  background-color: yellow;
  color: red;
  font-weight: bold;
}
</style>
</head>
<body>
​
<p>My name is Donald</p>
<p>I live in Ducksburg</p>
​
</body>
</html>
​
content_copyCOPY

https://www.w3schools.com/cssref/tryit.asp?filename