0
<div id="intro"> <p class="first">This is a <em> paragraph.</em></p> <p> This is the second paragraph. </p> </div> <p cl
why did we use second class here.
2 odpowiedzi
+ 1
the first is id not class .because if you want to refer to the paragraph in java script or to style it in css without styling the whole div if you want
+ 1
first id is for all the code in div.. but seccond class is for p