html - use a class instead of id in a link -
is possible make link go id:
<a href="http://example.com/page#someid">
instead go class:
<a href="http://example.com/page.someclass">
would page scroll wildly , down, trying reach elements class, or nothing?
it nothing, except file called "page.someclass" @ server , yield 404. please refer url spec because you're wildly confusing css selectors 'hash' part of url.
Comments
Post a Comment