s under
I'm working on an export from DocBook to HTML, and there are very few options for the "smart" category of HTML to add.
The structure I get is as follows:
...
So my idea is:
Select the UL after the H2 containing an A with the HREF attribute "My URL".
A combination
h2 ~ ul
is what I originally thought of, but I don't know how to specify H2 with "A of the HREF attributes I want"...
You can use the
has
selector to check ifh2
has an anchor tag, and then navigate to the nextul
selector.变为绿色
testing
不变绿色