Get the code of CSS tag Selector with Class and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.
<h1 class="center">Heading not affected</h1>
<p class="center">Paragraph will be affected</p>p.center {
color: white;
font-size: 30px;
background: orange;
}