By "actively used" I do not mean a:active (or a:visited, or a:hover, for that matter).
What I mean is when the viewer has clicked on the link and been brought to the anchor spot, and the web address is appended with a # and the anchor id. For example, let's say my page, website.com/page.html, looks like this:
- Code: Select all
<a href="#one">First topic</a>
<a href="#two">Second topic</a>
<p id="one">First Heading</p>
<p id="two">Second Heading</p>
When someone clicks on "First topic," the browser moves down to "First Heading" and the web address reads website.com/page.html#one. Can I apply a unique style to this situation?
I can't link to my page, it's not online.


