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

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

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -