ใช้องค์ประกอบนี้เพื่อแทรกเนื้อหาบางส่วนหลังองค์ประกอบ ตัวอย่างต่อไปนี้จะสาธิตวิธีการใช้องค์ประกอบ :after เพื่อเพิ่มเนื้อหาหลังองค์ประกอบ
ตัวอย่าง
<html>
<head>
<style>
p:after
{
content: url(/images/bullet.gif)
}
</style>
</head>
<body>
<p> This line will be succeeded by a bullet.</p>
<p> This line will be succeeded by a bullet.</p>
<p> This line will be succeeded by a bullet.</p>
</body>
</html>