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

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -