Element selectors


i cant understand how to write


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:


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