CSS Tutorial

  • 14-Feb-2020
  • 148

<!DOCTYPE html>
<html>
<head>
<style>
p {
  text-align: center;
  color: red;

</style>
</head>
<body>

<p>Every paragraph will be affected by the style.</p>
<p id="para1">Me too!</p>
<p>And me!</p>

</body>
</html>

 

Output

 

Every paragraph will be affected by the style.

Me too!

And me!