lucy24 - 8:13 pm on Sep 24, 2013 (gmt 0)
Would search engines interpret the content of a several sentence bullet point in a list better if there is a <p> tag inside an <li> tag?
Interesting question. I can answer it succinctly by paraphrasing Mark Twain: I have no idea :) But someone over in the Google SEO subforum will know.
I am still trying to understand this.
It takes time. Sometimes you need to read multiple explanations from different sources and finally you see one that fits tidily into your brain.
In CSS the form
with a space in the middle means "any item 'otherthing' that is inside of (formally 'a descendant of') the item 'onething'".
onething > otherthing
with a > in the middle means "any item 'otherthing' that is immediately inside of (formally 'a child of') the item 'onething'".
In both forms, "onething" and "otherthing" might be either html elements like p, li, div etc, or classnames like .thisclass .thatclass, or both:
"any list item in an unordered list" to distinguish it from
if you want things in an ordered list to look different.
"any list item within <ul class = 'super'>"
You can have nested lists:
<ul class = "outer">
It is also possible to go through your entire life without ever nesting a list, in the same way that you can go through your entire life without nesting tables. Q: When would you legitimately need to nest tables? A: When you're making an e-book and there really is a table within a table.
In this example, all five <li> elements would be covered by a rule for
All five would also be covered by
while only the first three would fall under
ul.outer > li