Sử dụng phần tử này để chèn một số nội dung sau phần tử. Ví dụ sau minh họa cách sử dụng phần tử:after để thêm một số nội dung vào sau phần tử.
Ví dụ
<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>