The id CSS Style:
The id CSS is used to specify a style for a single, unique element.
The id attribute of the HTML element in CSS is defined with a "#".
The style rule below will be applied to the element with id="p1":
<style>
#p1
{
text-align:center;
color:green;
background-color:yellow;{
text-align:center;
color:green;
}
</style>
<body>
<p id="p1">
The id CSS is used to specify a style for a single, unique element.
The id attribute of the HTML element in CSS is defined with a "#".
The style rule below will be applied to the element with id="p1"
</p></body>