CSS ::after Selector

HTML Code

<!DOCTYPE html>
<html>
<head>
<style>
p::after {
content: ” – Remember this”;
}
</style>
</head>
<body>

<p>My name is Donald</p>
<p>I live in Ducksburg</p>

</body>
</html>

HTML View

My name is Donald – Remember this

I live in Ducksburg – Remember this

If you want to join my online or offline graphic designing course than just call me - 9334029817

Related Posts

Leave a Reply

Open chat