Lesson 8 ul = li p?


#1

Why i cant write
ul{
color:#000000;
text-decoration: underline;
}
instead
li p{
color:#000000;
text-decoration: underline;
}

ul contains li and p and nothing else so when i put those values for ul it embrace li and p inside so what is the difference?


#2

ul{
  color:#000000; 
  text-decoration: underline;
}

would work normally, but the exercise wants you to specify the paragraph (p), so that is the only difference