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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -