Hai , in this post Im going to share about a cool trick you can use in your html pages or blog or anything.
Go to the code Navigating with in the page using simple html
Today many of the sites provide links like "Back to top", "skip to content" etc. When we click that link we move within the page. Wonder how do they do it. It is very simple as adding a single line html to your page.
Code to navigate within the page
Place the below code in the place you want to move when a link is clicked.
Place the below code in the link like "Back to top".
Now you should have understood the trick in it. Just add a "a name="yyy" " in the destination and add "a href="#yyy" "in the link. Don't forget to add # before the name in href. Thats it your page is ready for navigating. Any doubt?? Just comment below
More Html tips
Test your Html codes here for free.
Learn how to add a background color to the text
Learn how to protect your html codes
Learn how to display html codes to the users without being processed
Comments
Post a Comment
Don't fell shy to post your comments. You are welcome always.