Using ID in CSS

<html>
<head>
<style>
body{
background:green;
}
#para{
text-decoration:underline;
text-align:center;
font-weight:bold;
}

</style>
</head>
<body>

<div id="para">
This is para id
</div>
<body>
</html>
The output is given below:

0 comments:

Post a Comment