html - Anchor links that point to ID of a hidden element will cause browser to automatically show the element and scroll to it when clicked -


anchor links point id of hidden element cause browser automatically show element , scroll when clicked. i've seen girl post demo of this, cannot find anymore. no javascript please.

use octothorpe in href attribute of anchor element.

<a href="#somewhereelse">click here</a> <div id="somewhereelse">when click browser should scroll here</div> 

Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -