0Pricing
HTML for Kids · Lesson

Selector Types

Selector Types

Introduction

Hello,

In this lesson, we will further improve our CSS knowledge with more complex selectors.

Multiple style definition

We can make multiple style definitions by putting semicolons between each style.

.first{
   color:blue;
   font-size:20px;
   text-align: center;
}
← Back to HTML for Kids