There are many ways to select an element.
In the above example, we tried
to style the paragraph in three
different ways.
We used the element selector p
and
changed the font-size
.
We used the class selector .paragraph
to change the background colour.
Finally, we used the #para
id selector
and
changed the colour of the text.
As can be seen, we can select an element
using any type of a selector.