Programming Code Center(PCC)
[CSS]

(PCC)::[how-to-use-id-selector-tag-in-html-using-css]::[css]

File Name : index.html

<!DOCTYPE html>
<html>
<head>
<style>
#para1 {
  text-align: center;
  color: red;
}
</style>
</head>
<body>

<p id="para1">Hello World!</p>
<p>This paragraph is not affected by the style.</p>

</body>
</html>

Output :

Hello World!

This paragraph is not affected by the style.