diff --git a/CSS-Selector-help.md b/CSS-Selector-help.md index 6004dd5..e0e1e8f 100644 --- a/CSS-Selector-help.md +++ b/CSS-Selector-help.md @@ -16,6 +16,17 @@ So for example if the HTML is the selector would be `.points #interesting` +In this example + +```html + + Chapter 53 + +``` + +these three selectors will match : `.chapter`, `.lastchapter`, `.chapter.lastchapter`. This last one will only match when both CSS classes match. +`.chapter lastchapter` is wrong in this case. + # Select/extract just the HREF from `` tag using xpath if you have