Question regarding CSS selectors

I want to select the p tag. If I use a css selector h3 + p will it select the tag even if the tag in inside a div element?

example
<div>
<h3></h3>
<p></p>
</div>

A few CSS selectors that I'm learning.

h3 em {
*Selects all em tags inside h3 tags.
}
h3 + p {
*Selects the first p tag after a h3 tag.
}
a[title] {
*Selects all a tags that contain a title attribute.
}
a[title="Click Here"] {
*Select exact match attribute with exact value.
}
a[title*="here"] {
*Select tag with 'here' in no...

Question regarding CSS selectors

from HTML & Website Design http://ift.tt/28KbMMv
via IFTTT
Previous
Next Post »
Thanks for your comment