Element selectors


#1

i cant understand how to write


#2

In HTML we declare a paragraph by using p tags as shown below:

<p> Some text </p>

Now to style it in CSS we need to select it, how ? Here's an example:

p {
   //your css style goes in here
}

Hope you understand now :smile:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.