Saved Bookmarks
| 1. |
What Is Descendant Selector? |
|
Answer» SUPPOSE you want to apply a style RULE to a PARTICULAR ELEMENT only when it lies inside a particular element. As given in the following example, style rule will apply to <em> element only when it lies inside <ul> tag. Suppose you want to apply a style rule to a particular element only when it lies inside a particular element. As given in the following example, style rule will apply to <em> element only when it lies inside <ul> tag. |
|