Anchor Button to Move current page content - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button style

Description

Anchor Button to Move current page content

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

div{margin:40px 0 100px 0; height: 700px; background:#eee;}


      </style> 
 </head> <!--   w w  w.ja v  a2  s  . c  o  m-->
 <body> 
  <a href="#link1">Link 1</a> 
  <a href="#link2">Link 2</a> 
  <div> 
   <a name="link1"></a> Section 1 
  </div> 
  <div id="link2">
    Section 2 
  </div>  
 </body>
</html>

Related Tutorials