<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
p{
counter-increment: index;
}
p::before{
content: counter(index);
}
</style>
</head>
<body>
<h1>CSS content Property</h1>
<p>This is first paragraph.</p>
<p>This is second paragraph.</p>
</body>
</html>